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