Example #1
0
 *
 */
//$app = new \Slim\Slim();
$app = new \Slim\Slim();
//$baseJsDir = OW::getPluginManager()->getPlugin("base")->getStaticJsUrl();
$BOL_UserDao = BOL_UserDao::getInstance();
$ow_user = OW::getUser();
$OW_Auth_inst = OW_Auth::getInstance();
$Userservice = BOL_UserService::getInstance();
$EmailVerifyService = BOL_EmailVerifyService::getInstance();
$BOL_AvatarService_inst = BOL_AvatarService::getInstance();
$SKAPI_BOL_Service_inst = SKAPI_BOL_Service::getInstance();
$PHOTO_BOL_PhotoService_inst = PHOTO_BOL_PhotoService::getInstance();
$PHOTO_BOL_PhotoAlbumService = PHOTO_BOL_PhotoAlbumService::getInstance();
$PHOTO_BOL_PhotoTemporaryService = PHOTO_BOL_PhotoTemporaryService::getInstance();
$UserResetPassword = BOL_UserResetPasswordDao::getInstance();
$QuestionService = BOL_QuestionService::getInstance();
$AccountTypeToGenderService = SKADATE_BOL_AccountTypeToGenderService::getInstance();
$BOL_AuthorizationService = BOL_AuthorizationService::getInstance();
$BOL_UserOnlineDao = BOL_UserOnlineDao::getInstance();
$USEARCH_BOL_Service = USEARCH_BOL_Service::getInstance();
$BOL_SearchService = BOL_SearchService::getInstance();
$getPluginManager = OW::getPluginManager();
$CONTACTUS_BOL_Service = CONTACTUS_BOL_Service::getInstance();
$PHOTO_BOL_PhotoService = PHOTO_BOL_PhotoService::getInstance();
$PHOTO_BOL_PhotoAlbumCoverDao = PHOTO_BOL_PhotoAlbumCoverDao::getInstance();
$PHOTO_BOL_PhotoDao = PHOTO_BOL_PhotoDao::getInstance();
$getRouter = OW::getRouter();
$language = OW::getLanguage();
$getMailer = OW::getMailer();
$getConfig = OW::getConfig();
Example #2
0
 /**
  * Constructor.
  */
 private function __construct()
 {
     $this->userDao = BOL_UserDao::getInstance();
     $this->loginCookieDao = BOL_LoginCookieDao::getInstance();
     $this->userFeaturedDao = BOL_UserFeaturedDao::getInstance();
     $this->userOnlineDao = BOL_UserOnlineDao::getInstance();
     $this->userSuspendDao = BOL_UserSuspendDao::getInstance();
     $this->userApproveDao = BOL_UserApproveDao::getInstance();
     $this->restrictedUsernamesDao = BOL_RestrictedUsernamesDao::getInstance();
     $this->inviteCodeDao = BOL_InviteCodeDao::getInstance();
     $this->approveDao = BOL_UserApproveDao::getInstance();
     $this->resetPasswordDao = BOL_UserResetPasswordDao::getInstance();
     $this->userBlockDao = BOL_UserBlockDao::getInstance();
     $this->tokenDao = BOL_AuthTokenDao::getInstance();
 }