Exemple #1
0
 /**
  * The index handler.
  * 
  * @access public
  * @return string The HTML code.
  */
 public function index()
 {
     $Contact = new Contact();
     $Dealer = new Dealer();
     $this->getView()->set('Contacts', $Contact->findList(array(), 'Position asc'));
     $this->getView()->set('Dealers', $Dealer->findList(array(), 'Position asc'));
     return $this->getView()->render();
 }