Example #1
0
 public function indexAction()
 {
     $meta = array("title" => "Hello LB");
     $p_criteria = new Criteria("post");
     $this->posts = $p_criteria->getAll();
     View::render($this, "blog/index", array("meta" => $meta));
 }