Esempio n. 1
0
 /**
  * Constructor
  *
  * @access public
  * @param  \Core\Registry  $registry
  */
 public function __construct(\Core\Registry $registry)
 {
     $this->acl = $registry->acl;
     $this->action = $registry->action;
     $this->board = $registry->board;
     $this->config = $registry->config;
     $this->project = $registry->project;
     $this->task = $registry->task;
     $this->user = $registry->user;
     $this->comment = $registry->comment;
     $this->rememberMe = $registry->rememberMe;
     $this->lastLogin = $registry->lastLogin;
     $this->google = $registry->google;
     $this->event = $registry->shared('event');
 }
Esempio n. 2
0
 /**
  * Constructor
  *
  * @access public
  * @param  \Core\Registry  $registry  Registry instance
  */
 public function __construct(Registry $registry)
 {
     $this->registry = $registry;
     $this->db = $this->registry->shared('db');
 }