/** * Forwards a non-property $key to the getSessionApi * * @return ComConnectDomainEntitySession */ public function __get($key) { if (!$this->_repository->getDescription()->getProperty($key)) { return $this->getSessionApi($key); } return parent::__get($key); }
/** * Initializes the default configuration for the object. * * Called from {@link __construct()} as a first step of object instantiation. * * @param KConfig $config An optional KConfig object with configuration options. */ protected function _initialize(KConfig $config) { $config->append(array('repository' => 'repos://site/base.node')); parent::_initialize($config); }