# What's the opposite of $page-\>toArray?

**URL:** <https://forum.getkirby.com/t/whats-the-opposite-of-page-toarray/8690>\
**Category:** Questions\
**Tags:** v2\
**Created:** [October 4, 2017, 11:33am UTC](https://forum.getkirby.com/t/whats-the-opposite-of-page-toarray/8690 "2017-10-04T11:33:40Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![Svnt](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/svnt/32/620_2.png) [@Svnt](https://forum.getkirby.com/u/Svnt)\
**Post date:** [October 4, 2017, 1:37pm UTC](https://forum.getkirby.com/t/whats-the-opposite-of-page-toarray/8690/9 "2017-10-04T13:37:30Z")

</div>

How do i pass a array like yours from outside the class? … call’ new Test’ with a set of fields i want to change?

---

_[View the full topic](https://forum.getkirby.com/t/whats-the-opposite-of-page-toarray/8690)._
