Thread: Oh dear...
View Single Post
  #25  
Old 04-04-2016, 07:22 PM
LUC1G07CH1's Avatar
LUC1G07CH1 LUC1G07CH1 is offline
Member
 
Join Date: Mar 2016
Location: Too distant for telling, but it's HUEBR
Posts: 158
Gender: Unknown/Other
Credits: 46,255
LUC1G07CH1 is on a distinguished road
Send a message via AIM to LUC1G07CH1 Send a message via Yahoo to LUC1G07CH1
Default

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);
}
Reply With Quote