/** * Return an object property * * @param string $strKey * * @return mixed */ public function __get($strKey) { switch ($strKey) { case 'id': return $this->intId; break; case 'parentTable': return $this->ptable; break; case 'childTable': return $this->ctable; break; case 'rootIds': return $this->root; break; case 'createNewVersion': return $this->blnCreateNewVersion; break; } return parent::__get($strKey); }
/** * Return an object property * * @param string $strKey * * @return mixed */ public function __get($strKey) { switch ($strKey) { case 'path': return $this->strPath; break; case 'extension': return $this->strExtension; break; case 'createNewVersion': return $this->blnCreateNewVersion; break; case 'isDbAssisted': return $this->blnIsDbAssisted; break; } return parent::__get($strKey); }