Advertisement
Guest User

Untitled

a guest
Jun 3rd, 2015
340
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.24 KB | None | 0 0
  1. <?php
  2.  
  3. use Phalcon\Mvc\Controller;
  4.  
  5. class IndexController extends Controller
  6. {
  7.     public function indexAction()
  8.     {
  9.         $elements = $this->di->get("elements");
  10.         $this->view->content = $elements->getTitle();
  11.     }
  12.  
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement