ldapConnection; } protected function setldapConnection( $var ) { $this->ldapConnection = $var; } } class sw_client extends core_client { private $var1=1; private $var2=2; private $var3=3; private $var4=4; private $var5=5; public function save() { $this->setldapConnection("HELLO, DONT WANT YOU TO SEE ME"); $current = get_object_vars($this); return print_r( $current ); } public function showParent() { return $this->getldapConnection(); } } $test = new sw_client(); echo "sw_client = "; echo $test->save(); echo "
\$test->showParent() = ".$test->showParent(); ?>