Controller_Shindig_Post::before PHP Метод

before() публичный Метод

public before ( )
    public function before()
    {
        if (Kohana::config('shindig.use_authentication') and !Shindig::$has_auth) {
            throw new Shindig_Exception(__('Unauthorized Access'));
        }
        if (!shindig::$authors and Kohana::config('shindig.use_authors')) {
            shindig::load_authors();
        }
        parent::before();
    }