Obvious i'll show you the code:
/**
* The setMoneyBar method, setter method for property $moneyBar.
* It is set internally upon object instantiation, cannot be accessed in client code.
* @access protected
* @return Void
*/
protected function setMoneyBar(){
$mysidia = Registry::get("mysidia");
$this->moneyBar = new Paragraph;
$this->moneybar->add(new Image("amethystdust.png"));
$this->moneyBar->add(new Comment("{$mysidia->user->money}"));
$donate = new Link("donate");
$donate->setText("Give Currency to Users");
$this->moneyBar->add($donate);
$this->setDivision($this->moneyBar);
}
|