Пример #1
0
 /**
  * The constructor extracts the bag of values passed from the Presenter.
  * @param A bag of key:value symbols
  */
 public function __construct(array $values)
 {
     $this->values = $values;
     // include view helpers
     include BASEPATH . "/fari/Application/ApplicationViewHelpers" . EXT;
     // set the values in the helpers so they 'catch' them
     Fari_ApplicationViewHelper::setValues($this->values);
 }