コード例 #1
0
ファイル: View.php プロジェクト: prigazzi/php-viewmodels
 public function parse()
 {
     $this->title = $this->model->getTitle();
     $this->price = $this->model->getPrice();
     $this->description = $this->model->getDescription();
     return parent::parse();
 }
コード例 #2
0
ファイル: View.php プロジェクト: prigazzi/php-viewmodels
 public function parse()
 {
     $this->price = $this->model->getPrice();
     return parent::parse();
 }
コード例 #3
0
 public function __construct($template = null)
 {
     $template = $template ? $template : __DIR__ . "/../templates/pagination.tpl";
     parent::__construct($template);
 }