Got this right now. What am I supposed to do, exactly? In noob speak....
In the class_sidebar file, I have:
Code:
/**
* The setDivision method, setter method for property $division.
* It is set internally upon object instantiation, cannot be accessed in client code.
* @param GUIComponent $module
* @access protected
* @return Void
*/
protected function setDivision(GUIComponent $module){
if(!$this->division){
$this->division = new Division;
$this->division->setClass("sidebar");
}
$this->division->add($module);
}
In the class_adminsidebar file, it's:
Code:
/**
* The setDivision method, setter method for property $division.
* It is set internally upon object instantiation, cannot be accessed in client code.
* @param ArrayList $components
* @access protected
* @return Void
*/
protected function setDivision($components){
$this->division = new Division($components);
$this->division->setClass("sidebar");
}
Is that what I'm supposed to switch? Sure it wouldn't break anything?