public function setExtendedBy(&$ExtendedClass) { $class_name = get_class($ExtendedClass); $this->__extendedPoints[$class_name] = $ExtendedClass; AkLazyObject::extenssionRegistry($ExtendedClass, $class_name, true); }
public function __get($attribute) { $matches = array(); if (preg_match('/^(.+)_helper$/', $attribute, $matches)) { $this->getHelperLoader()->instantiateHelperAsHandlerAttribute($matches[1], $matches[0]); if (isset($this->{$attribute})) { return $this->{$attribute}; } } if (!isset($this->_dynamic_attributes[$attribute])) { return parent::__get($attribute); } return $this->_dynamic_attributes[$attribute]; }