Example #1
0
 /**
  * 
  * Post-construction tasks to complete object construction.
  * 
  * @return void
  * 
  */
 protected function _postConstruct()
 {
     parent::_postConstruct();
     if ($this->_config['class_dir']) {
         $this->_class_dir = Solar_Dir::fix($this->_config['class_dir']);
     }
     if ($this->_config['package_dir']) {
         $this->_package_dir = Solar_Dir::fix($this->_config['package_dir']);
     }
     if ($this->_config['docbook_dir']) {
         $this->_docbook_dir = Solar_Dir::fix($this->_config['docbook_dir']);
     }
     $this->_markdown = Solar::factory('Solar_Markdown_Apidoc');
 }
Example #2
0
 /**
  * 
  * Post-execution logic.
  * 
  * @return void
  * 
  */
 protected function _postExec()
 {
     parent::_postExec();
     // return terminal to normal colors
     $this->_out("%n");
 }
 /**
  * 
  * Post-construction tasks to complete object construction.
  * 
  * @return void
  * 
  */
 protected function _postConstruct()
 {
     parent::_postConstruct();
     if ($this->_config['class_dir']) {
         $this->_class_dir = Solar_Dir::fix($this->_config['class_dir']);
     }
     if ($this->_config['package_dir']) {
         $this->_package_dir = Solar_Dir::fix($this->_config['package_dir']);
     }
     if ($this->_config['docbook_dir']) {
         $this->_docbook_dir = Solar_Dir::fix($this->_config['docbook_dir']);
     }
 }