Beispiel #1
0
 /**
  * @param \Phalcon\DI\FactoryDefault $di
  */
 public function __construct($di)
 {
     parent::__construct($di);
     $this->private_resources = array('index' => array('index', 'posts'), 'post' => array('index', 'create', 'edit', 'update'), 'galery' => array('index', 'upload'), 'login' => array('index'));
     $this->public_resources = array();
 }
Beispiel #2
0
 /**
  * @param \Phalcon\DI\FactoryDefault $di
  */
 public function __construct($di)
 {
     parent::__construct($di);
     $this->private_resources = array();
     $this->public_resources = array('index' => array('index', 'login'));
 }