Exemplo n.º 1
0
 /**
  * init()
  *
  * @return Zend_Tool_Project_Context_Filesystem_File
  */
 public function init()
 {
     if ($this->_resource->hasAttribute('filesystemName')) {
         $this->_filesystemName = $this->_resource->getAttribute('filesystemName');
     }
     // check to see if this file is
     if ($this->getName() == 'file') {
         $this->_initFileOnlyContext();
     }
     // @potential-todo check to ensure that this 'file' resource has no children
     parent::init();
     return $this;
 }
Exemplo n.º 2
0
 /**
  * init()
  *
  * @return Zend_Tool_Project_Context_Filesystem_File
  */
 public function init()
 {
     // @todo check to ensure that this 'file' resource has no children
     parent::init();
     return $this;
 }