_resource->hasAttribute('classNamePrefix')) { $this->_classNamePrefix = $this->_resource->getAttribute('classNamePrefix'); } parent::init(); } /** * getPersistentAttributes * * @return array */ public function getPersistentAttributes() { return array( 'classNamePrefix' => $this->getClassNamePrefix() ); } public function getName() { return 'ApplicationDirectory'; } public function setClassNamePrefix($classNamePrefix) { $this->_classNamePrefix = $classNamePrefix; } public function getClassNamePrefix() { return $this->_classNamePrefix; } }