Location: PHPKode > scripts > ubNode > ubnode/test_b.php
<?php
class test_b
{
	private $obj;
	private $arr = array(
		'a' =>"v_a",
		'b' =>"v_b",
		'd' =>"v_d",
		'c' =>"v_c");
	private $arr1 = array(
		'a' => array(
			'a1' => 'value a1',
			'a2' => array('a21' => 'value a2'),
			'a3' => 'value a3',
			'a4' => 'value a4'),
		'b' => array(
			'b1' => 'value b1',
			'b2' => 'value b2',
			'b3' => 'value b3'),
		'c' => 'value c');
	
	public function get__arr()
	{
		return $this->arr;
	}
	public function get__arr1()
	{
		return $this->arr1;
	}
	public function get__obj()
	{
		return $this->obj;
	}
	public function set__arr($arr)
	{
		$this->arr = $arr;
	}
	public function set__arr1($arr1)
	{
		$this->arr1 = $arr1;
	}
	public function set__obj($obj)
	{
		$this->obj = $obj;
	}
	
	public function __construct()
	{
		$this->obj = new test_a();
	}
}
?>
Return current item: ubNode