View Single Post
  #4  
Old 01-08-2014, 04:01 PM
FRivArt FRivArt is offline
Ze Code-Illiterate N00b
 
Join Date: Jan 2014
Location: Puerto Rico
Posts: 6
Gender: Unknown/Other
Credits: 1,062
FRivArt is on a distinguished road
Default

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?
Reply With Quote