Exemplo n.º 1
0
    public function before()
    {
        parent::before();

        $this->render->title = 'Join Us';
        $this->render->layout = 'framed';
    }
Exemplo n.º 2
0
 /**
  * Call the controller parent's before method, before making a new service
  * then checking that the service has authorization and setting its params.
  */
 protected function before()
 {
     parent::before();
     $this->service = $this->app->new_service();
     if (!$this->service->auth()) {
         YAWF::finish();
     }
     $this->set_params_from_parts('api_version', NULL, 'id');
 }
Exemplo n.º 3
0
 public function before()
 {
     parent::before();
     load_models('User');
     $this->render->user_email = $this->cookie->user_email;
 }
Exemplo n.º 4
0
 public function before()
 {
     load_helper('Twitter');
     load_plugin('Twitter/OAuth');
     parent::before();
 }
Exemplo n.º 5
0
 public function before()
 {
     parent::before();
 }
Exemplo n.º 6
0
 public function before()
 {
     parent::before();
     load_models('Note');
     Note::set_database_for($this->username);
 }
Exemplo n.º 7
0
 public function before()
 {
     parent::before();
     $this->create_database();
 }