Esempio n. 1
0
 /**
  * Calling parent so we get all field attributes printed instead of only api_friendly_values
  */
 public function __toString()
 {
     return print_r(parent::as_json(false), true);
 }
Esempio n. 2
0
 public function test_can_create_member()
 {
     $member = PodioObject::member(array('id' => 1));
     $this->assertInstanceOf('PodioObject', $member);
 }