示例#1
0
 protected function includes()
 {
     stingleInclude('Exceptions/JobQueueException.class.php');
     stingleInclude('Objects/JobQueueObj.class.php');
     stingleInclude('Interfaces/JobQueue.interface.php');
     stingleInclude('Managers/JobQueueManager.class.php');
 }
示例#2
0
 protected function includes()
 {
     stingleInclude('Filters/UserPhotosFilter.class.php');
     stingleInclude('Exceptions/UserPhotosException.class.php');
     stingleInclude('Objects/UserPhoto.class.php');
     stingleInclude('Managers/UserPhotoManager.class.php');
 }
 protected function includes()
 {
     stingleInclude('Objects/QBPart.class.php');
     stingleInclude('Objects/Expr/Base.php');
     stingleInclude('Objects/Expr/Composite.php');
     stingleInclude('Objects/Expr/Andx.php');
     stingleInclude('Objects/Expr/Comparison.php');
     stingleInclude('Objects/Expr/From.php');
     stingleInclude('Objects/Expr/Func.php');
     stingleInclude('Objects/Expr/GroupBy.php');
     stingleInclude('Objects/Expr/Join.php');
     stingleInclude('Objects/Expr/Literal.php');
     stingleInclude('Objects/Expr/Math.php');
     stingleInclude('Objects/Expr/OrderBy.php');
     stingleInclude('Objects/Expr/Orx.php');
     stingleInclude('Objects/Expr/Select.php');
     stingleInclude('Objects/Expr/Field.php');
     stingleInclude('Objects/Expr/Insert.php');
     stingleInclude('Objects/Expr/Expr.php');
     stingleInclude('Objects/Expr/Unionx.php');
     stingleInclude('Managers/QueryBuilder.class.php');
     stingleInclude('Managers/Filter.class.php');
     stingleInclude('Managers/FilterMerger.class.php');
     stingleInclude('Objects/MergeableFilter.class.php');
 }
示例#4
0
 protected function includes()
 {
     stingleInclude('Exceptions/MailException.class.php');
     stingleInclude('Exceptions/DKIMConfigException.class.php');
     stingleInclude('Managers/MailSender.class.php');
     stingleInclude('Objects/Mail.class.php');
     stingleInclude('Objects/DKIMConfig.class.php');
 }
示例#5
0
 protected function includes()
 {
     $precompileCode = 'define("MINIFY_PATH", "' . dirname(__FILE__) . '/lib/");';
     stingleInclude('lib/Minify/Loader.php', $precompileCode, 'Minify_Loader::register();');
     stingleInclude('Managers/MinifyWrapper.class.php');
     stingleInclude('Managers/MinifySmartyWrapper.class.php');
     Minify_Loader::register();
 }
示例#6
0
 protected function includes()
 {
     stingleInclude('Objects/Crypto.class.php');
     stingleInclude('Exceptions/CryptoException.class.php');
     stingleInclude('Exceptions/NoRandomProviderException.class.php');
     stingleInclude('Exceptions/NotSupportedBigMathLibraryException.class.php');
     stingleInclude('Helpers/helpers.inc.php');
 }
 protected function includes()
 {
     stingleInclude('Filters/CometEventsFilter.class.php');
     stingleInclude('Managers/CometEvents.class.php');
     stingleInclude('Objects/CometEventHandler.class.php');
     stingleInclude('Objects/CometBroadcastEventHandler.class.php');
     stingleInclude('Objects/CometEventsChunk.class.php');
     stingleInclude('Objects/CometEvent.class.php');
 }
 protected function includes()
 {
     stingleInclude('Exceptions/ControllerTerminateException.class.php');
     stingleInclude('Exceptions/FileNotFoundException.class.php');
     stingleInclude('Objects/Nav.class.php');
     stingleInclude('Managers/RequestParser.class.php');
     stingleInclude('Managers/Controller.class.php');
     stingleInclude('Helpers/helpers.php');
 }
示例#9
0
 protected function includes()
 {
     $precompileCode = 'define("SMARTY_DIR", "' . dirname(__FILE__) . '/Core/' . '");';
     stingleInclude('Core/Smarty.class.php', $precompileCode);
     stingleInclude('Helpers/functions.inc.php');
     stingleInclude('Managers/SmartyWrapper.class.php');
     stingleInclude('Managers/SmartyMemcache.class.php');
     stingleInclude('Exceptions/TemplateFileNotFoundException.class.php');
     stingleInclude('Exceptions/ImageFileNotFoundException.class.php');
 }
示例#10
0
 protected function includes()
 {
     stingleInclude('Managers/MySqlDbManager.class.php');
     stingleInclude('Managers/Tbl.class.php');
     stingleInclude('Managers/DbAccessor.class.php');
     stingleInclude('Managers/MySqlDatabase.class.php');
     stingleInclude('Exceptions/MySqlException.class.php');
     stingleInclude('Managers/MySqlQuery.class.php');
     stingleInclude('Helpers/helpers.inc.php');
 }
示例#11
0
 protected function includes()
 {
     stingleInclude('Managers/Yubikey.class.php');
     stingleInclude('Managers/YubikeyObject.class.php');
     stingleInclude('Managers/YubikeyUserAuthorization.class.php');
     stingleInclude('Managers/YubikeyManager.class.php');
     stingleInclude('Exceptions/YubikeyException.class.php');
     stingleInclude('Exceptions/YubikeyRequiredException.class.php');
     stingleInclude('Exceptions/InvalidYubikeyException.class.php');
 }
示例#12
0
 protected function includes()
 {
     stingleInclude('Objects/TextsGroup.class.php');
     stingleInclude('Objects/Text.class.php');
     stingleInclude('Objects/TextValue.class.php');
     stingleInclude('Objects/TextAlias.class.php');
     stingleInclude('Managers/TextsGroupManager.class.php');
     stingleInclude('Managers/TextsManager.class.php');
     stingleInclude('Managers/TextsValuesManager.class.php');
     stingleInclude('Filters/TextsValuesFilter.class.php');
     stingleInclude('Managers/TextsAliasManager.class.php');
 }
示例#13
0
 protected function includes()
 {
     stingleInclude('Objects/ChatInvitation.class.php');
     stingleInclude('Objects/ChatMessage.class.php');
     stingleInclude('Objects/ChatSession.class.php');
     stingleInclude('Objects/ChatSessionLog.class.php');
     stingleInclude('Objects/ChatUser.class.php');
     stingleInclude('Filters/ChatInvitationsFilter.class.php');
     stingleInclude('Filters/ChatMessageFilter.class.php');
     stingleInclude('Filters/ChatSessionFilter.class.php');
     stingleInclude('Managers/ChatInvitationManager.class.php');
     stingleInclude('Managers/ChatMessageManager.class.php');
     stingleInclude('Managers/ChatSessionManager.class.php');
     stingleInclude('Exceptions/ChatInvitationException.class.php');
     stingleInclude('Exceptions/ChatSessionException.class.php');
 }
 protected function includes()
 {
     stingleInclude('Objects/Conversation.class.php');
     stingleInclude('Objects/ConversationMessage.class.php');
     stingleInclude('Objects/ConversationAttachment.class.php');
     stingleInclude('Objects/ConversationComet.class.php');
     stingleInclude('Objects/ConversationEventComet.class.php');
     stingleInclude('Filters/ConversationFilter.class.php');
     stingleInclude('Filters/ConversationMessagesFilter.class.php');
     stingleInclude('Filters/ConversationAttachmentFilter.class.php');
     stingleInclude('Managers/ConversationManager.class.php');
     stingleInclude('Managers/ConversationAttachmentManager.class.php');
     stingleInclude('Exceptions/ConversationException.class.php');
     stingleInclude('Exceptions/ConversationNotUniqueException.class.php');
     stingleInclude('Exceptions/ConversationNotExistException.class.php');
     stingleInclude('Exceptions/ConversationNotOwnException.class.php');
 }
示例#15
0
 protected function includes()
 {
     stingleInclude('Managers/UserAuthorization.class.php');
     stingleInclude('Managers/UserGroupsManager.class.php');
     stingleInclude('Managers/UserManager.class.php');
     stingleInclude('Managers/UserPermissionsManager.class.php');
     stingleInclude('Objects/User.class.php');
     stingleInclude('Objects/UserGroup.class.php');
     stingleInclude('Objects/Permission.class.php');
     stingleInclude('Objects/UserPermissions.class.php');
     stingleInclude('Objects/UserProperties.class.php');
     stingleInclude('Filters/UserGroupsFilter.class.php');
     stingleInclude('Filters/UserPermissionsFilter.class.php');
     stingleInclude('Filters/UsersFilter.class.php');
     stingleInclude('Exceptions/UserException.class.php');
     stingleInclude('Exceptions/UserAuthFailedException.class.php');
     stingleInclude('Exceptions/UserDisabledException.class.php');
     stingleInclude('Exceptions/UserNotFoundException.class.php');
     stingleInclude('Exceptions/UserPermissionException.class.php');
     stingleInclude('Helpers/helpers.inc.php');
 }
示例#16
0
 protected function includes()
 {
     stingleInclude('Managers/UserProfile.class.php');
 }
示例#17
0
 protected function includes()
 {
     stingleInclude('Managers/FacebookAuth.class.php');
     stingleInclude('Objects/FacebookPhotoAlbum.class.php');
     stingleInclude('Objects/FacebookPhoto.class.php');
 }
示例#18
0
 protected function includes()
 {
     stingleInclude('Objects/MysqlPager.class.php');
 }
示例#19
0
 protected function includes()
 {
     stingleInclude('Managers/Comet.class.php');
     stingleInclude('Objects/CometChunk.class.php');
 }
示例#20
0
 protected function includes()
 {
     stingleInclude('Managers/RewriteURL.class.php');
     stingleInclude('Helpers/helpers.inc.php');
 }
 protected function includes()
 {
     stingleInclude('Exceptions/RequestLimiterTooManyAuthTriesException.class.php');
     stingleInclude('Managers/RequestLimiter.class.php');
     stingleInclude('Exceptions/RequestLimiterBlockedException.class.php');
 }
 protected function includes()
 {
     stingleInclude('Exceptions/ImageUploaderException.class.php');
     stingleInclude('Managers/ImageUploader.class.php');
 }
示例#23
0
 protected function includes()
 {
     stingleInclude('Managers/MemcacheWrapper.class.php');
     stingleInclude('Managers/MySqlQueryMemcache.class.php');
 }
 protected function includes()
 {
     stingleInclude('Managers/UserManagerCaching.class.php');
 }
示例#25
0
 /**
  * Get dependencies of plugin
  * 
  * @throws RuntimeException
  * @return Dependency
  */
 public function getDependencies()
 {
     $className = "Dependency{$this->pluginName}";
     try {
         if (!class_exists($className)) {
             if (file_exists(SITE_PACKAGES_PATH . "{$this->packageName}/{$this->pluginName}/{$className}.class.php")) {
                 stingleInclude(SITE_PACKAGES_PATH . "{$this->packageName}/{$this->pluginName}/{$className}.class.php", null, null, true);
             } elseif (file_exists(STINGLE_PATH . "packages/{$this->packageName}/{$this->pluginName}/{$className}.class.php")) {
                 stingleInclude(STINGLE_PATH . "packages/{$this->packageName}/{$this->pluginName}/{$className}.class.php", null, null, true);
             } else {
                 throw new RuntimeException();
             }
         }
         $deps = new $className();
     } catch (RuntimeException $e) {
         $deps = new Dependency();
     }
     if ($this->packageName != $this->pluginName) {
         try {
             $this->packageManager->checkPluginExistance($this->packageName, $this->packageName);
             $deps->addPlugin($this->packageName, $this->packageName);
         } catch (Exception $e) {
         }
     }
     return $deps;
 }
示例#26
0
 protected function includes()
 {
     stingleInclude('Managers/FormKey.class.php');
     stingleInclude('Exceptions/FormKeySecurityException.class.php');
 }
 protected function includes()
 {
     stingleInclude('Managers/ImageModificator.class.php');
     stingleInclude('Exceptions/ImageModificatorException.class.php');
 }
 protected function includes()
 {
     stingleInclude('Managers/RewriteAliasURL.class.php');
     stingleInclude('Managers/RewriteAliasMap.class.php');
 }
示例#29
0
 protected function includes()
 {
     stingleInclude('Interfaces/ExternalAuth.interface.php');
     stingleInclude('Objects/ExternalUser.class.php');
     stingleInclude('Managers/ExternalUserManager.class.php');
 }
示例#30
0
 protected function includes()
 {
     stingleInclude('Managers/Logger.class.php');
 }