Пример #1
0
 /**
  * 
  * Reset the helper class stack.
  * 
  * @param string|array $list The classes to set for the stack.
  * 
  * @return void
  * 
  * @see Solar_Class_Stack::set()
  * 
  * @see Solar_Class_Stack::add()
  * 
  */
 public function setHelperClass($list = null)
 {
     $parents = Solar_Class::parents($this, true);
     array_shift($parents);
     // drops Solar_Base
     foreach ($parents as $key => $val) {
         $parents[$key] = $val . '_Helper';
     }
     $this->_helper_class->set($parents);
     $this->_helper_class->add($list);
 }