示例#1
0
 function get_title(){
     $result = parent::get_title();
     $result = $result ? $result : 'Mahara';
     return $result;
 }
 /**
  *
  * @param \Portfolio\Portfolio $portfolio 
  */
 public function __construct($portfolio)
 {
     $this->name = md5(__CLASS__) . '_' . $portfolio->get_name();
     $this->title = $portfolio->get_title() ? $portfolio->get_title() : get_lang('SendTo') . ' ' . $portfolio->get_name();
     $this->portfolio = $portfolio;
 }