Example #1
0
 function &getComponent($component_type, $passthru_value = null)
 {
     if ($component_type != 'source') {
         return parent::getComponent($component_type, $passthru_value);
     }
     return parent::getComponent($component_type, $this->_path_source);
 }
Example #2
0
 /**
  * &getComponent 
  *  
  * this is an ugly workaround that seems to fix a compatibility issue with PHP4
  *
  * @param mixed $component_type 
  * @param mixed $passthru 
  * @access public
  * @return void
  */
 function &getComponent($component_type, $passthru = null)
 {
     return parent::getComponent($component_type, $passthru);
 }