Exemple #1
0
 public function init()
 {
     parent::init();
     if (!OW::getUser()->isAuthenticated()) {
         throw new ApiAccessException(ApiAccessException::TYPE_NOT_AUTHENTICATED);
     }
 }