How to use addClass class

Best Atoum code snippet using addClass

class.ffClassLoader.php

Source:class.ffClassLoader.php Github

copy

Full Screen

...74 $this->_loadedClasses[] = $name;75 }76 }77 78 public function addClass( $name, $path ) {79 $this->_classNameToPathMap[ $name ] = $path;80 }81 public function addClassTheme( $name, $path ) {82 $this->_themeClasses[] = $name;83 $this->_classNameToPathMap[ $name ] = $path;84 }85 86 public function loadConstants() {87 $this->loadClass('ffConstActions');88 $this->loadClass('ffConstThemeViews');89 $this->loadClass('ffConstHTMLClasses');90 $this->loadClass('ffConstQuery');91 $this->loadClass('ffConstCache');92 }93/******************************************************************************/94/* PRIVATE FUNCTIONS95/******************************************************************************/96 private function _getFileSystem() {97 return $this->_fileSystem;98 }99 ############################################################################100 # CORE101 ############################################################################102 private function _addCoreFiles() {103 $this->addClass( 'ffBasicObject', FF_FRAMEWORK_DIR.'/framework/core/class.ffBasicObject.php');104 $this->addClass( 'ffContainer', FF_FRAMEWORK_DIR.'/framework/core/class.ffContainer.php');105 $this->addClass( 'ffFramework', FF_FRAMEWORK_DIR.'/framework/core/class.ffFramework.php');106 107 $this->addClass( 'ffPluginLoader_Factory', FF_FRAMEWORK_DIR.'/framework/core/factories/class.ffPluginLoader_Factory.php');108 $this->addClass( 'ffPluginLoader', FF_FRAMEWORK_DIR.'/framework/core/class.ffPluginLoader.php');109 $this->addClass( 'ffPluginIdentificator', FF_FRAMEWORK_DIR.'/framework/core/class.ffPluginIdentificator.php');110 $this->addClass( 'ffFactoryAbstract', FF_FRAMEWORK_DIR.'/framework/core/class.ffFactoryAbstract.php');111 $this->addClass( 'ffFactoryCenterAbstract', FF_FRAMEWORK_DIR.'/framework/core/class.ffFactoryCenterAbstract.php');112 $this->addClass( 'ffPluginAbstract', FF_FRAMEWORK_DIR.'/framework/core/class.ffPluginAbstract.php');113 $this->addClass( 'ffPluginContainerAbstract', FF_FRAMEWORK_DIR.'/framework/core/class.ffPluginContainerAbstract.php');114 115 $this->addClass( 'ffThemeAbstract', FF_FRAMEWORK_DIR.'/framework/core/class.ffThemeAbstract.php');116 $this->addClass( 'ffThemeContainerAbstract', FF_FRAMEWORK_DIR.'/framework/core/class.ffThemeContainerAbstract.php');117 $this->addClass( 'ffThemeIdentificator', FF_FRAMEWORK_DIR.'/framework/core/class.ffThemeIdentificator.php');118 119 $this->addClass( 'ffThemeLoader', FF_FRAMEWORK_DIR.'/framework/core/class.ffThemeLoader.php');120 121 $this->addClass( 'ffRequest', FF_FRAMEWORK_DIR.'/framework/core/class.ffRequest.php');122 $this->addClass( 'ffRequest_Factory', FF_FRAMEWORK_DIR.'/framework/core/factories/class.ffRequest_Factory.php');123 $this->addClass( 'ffLibManager', FF_FRAMEWORK_DIR.'/framework/core/class.ffLibManager.php');124 $this->addClass( 'ffColor', FF_FRAMEWORK_DIR.'/framework/core/class.ffColor.php');125 $this->addClass( 'ffException', FF_FRAMEWORK_DIR.'/framework/core/class.ffException.php');126 $this->addClass( 'ffCiphers', FF_FRAMEWORK_DIR.'/framework/core/class.ffCiphers.php');127 $this->addClass( 'ffCollection', FF_FRAMEWORK_DIR.'/framework/core/class.ffCollection.php');128 $this->addClass( 'ffEnvatoApi', FF_FRAMEWORK_DIR.'/framework/core/class.ffEnvatoApi.php');129 $this->addClass( 'ffEnvatoApiModern', FF_FRAMEWORK_DIR.'/framework/core/class.ffEnvatoApiModern.php');130 131 132 133 ########################################################################134 # WP LAYER135 ########################################################################136 $this->addClass( 'ffWPLayer', FF_FRAMEWORK_DIR.'/framework/core/wplayer/class.ffWPLayer.php');137 $this->addClass( 'ffAssetsSourceHolder', FF_FRAMEWORK_DIR.'/framework/core/wplayer/class.ffAssetsSourceHolder.php');138 $this->addClass( 'ffHookManager', FF_FRAMEWORK_DIR.'/framework/core/wplayer/class.ffHookManager.php');139 $this->addClass( 'ffWPMLBridge', FF_FRAMEWORK_DIR.'/framework/core/wplayer/class.ffWPMLBridge.php');140 141 142 ########################################################################143 # AJAX144 ########################################################################145 $this->addClass( 'ffAjaxRequestFactory', FF_FRAMEWORK_DIR.'/framework/core/ajax/factories/class.ffAjaxRequest_Factory.php');146 $this->addClass( 'ffAjaxDispatcher', FF_FRAMEWORK_DIR.'/framework/core/ajax/class.ffAjaxDispatcher.php');147 $this->addClass( 'ffAjaxRequest', FF_FRAMEWORK_DIR.'/framework/core/ajax/class.ffAjaxRequest.php');148 }149 ############################################################################150 # ASSETS151 ############################################################################152 private function _addAssetsFiles() {153 $this->addClass( 'ffAssetsIncludingFactory', FF_FRAMEWORK_DIR.'/framework/assetsIncluding/factories/class.ffAssetsIncludingFactory.php');154 155 $this->addClass( 'ffScript', FF_FRAMEWORK_DIR.'/framework/assetsIncluding/class.ffScript.php');156 $this->addClass( 'ffScript_Factory', FF_FRAMEWORK_DIR.'/framework/assetsIncluding/factories/class.ffScript_Factory.php');157 $this->addClass( 'ffScriptEnqueuer', FF_FRAMEWORK_DIR.'/framework/assetsIncluding/class.ffScriptEnqueuer.php');158 $this->addClass( 'ffScriptEnqueuerMinification', FF_FRAMEWORK_DIR.'/framework/assetsIncluding/class.ffScriptEnqueuerMinification.php');159 $this->addClass( 'ffScriptEnqueuer_Factory', FF_FRAMEWORK_DIR.'/framework/assetsIncluding/factories/class.ffScriptEnqueuer_Factory.php');160 $this->addClass( 'ffFrameworkScriptLoader', FF_FRAMEWORK_DIR.'/framework/assetsIncluding/class.ffFrameworkScriptLoader.php');161 $this->addClass( 'ffStyle', FF_FRAMEWORK_DIR.'/framework/assetsIncluding/class.ffStyle.php');162 $this->addClass( 'ffStyle_Factory', FF_FRAMEWORK_DIR.'/framework/assetsIncluding/factories/class.ffStyle_Factory.php');163 $this->addClass( 'ffStyleEnqueuer', FF_FRAMEWORK_DIR.'/framework/assetsIncluding/class.ffStyleEnqueuer.php');164 $this->addClass( 'ffStyleEnqueuerMinification', FF_FRAMEWORK_DIR.'/framework/assetsIncluding/class.ffStyleEnqueuerMinification.php');165 $this->addClass( 'ffMinificator', FF_FRAMEWORK_DIR.'/framework/assetsIncluding/class.ffMinificator.php');166 $this->addClass( 'ffLessScssCompiler', FF_FRAMEWORK_DIR.'/framework/assetsIncluding/lessScssCompiler/class.ffLessScssCompiler.php');167 $this->addClass( 'ffVariableTransporter', FF_FRAMEWORK_DIR.'/framework/assetsIncluding/lessScssCompiler/class.ffVariableTransporter.php');168 $this->addClass( 'ffLessWPOptions_Factory', FF_FRAMEWORK_DIR.'/framework/assetsIncluding/lessWPOptions/class.ffLessWPOptions_Factory.php');169 $this->addClass( 'ffLessWPOptionsManager', FF_FRAMEWORK_DIR.'/framework/assetsIncluding/lessWPOptions/class.ffLessWPOptionsManager.php');170 171 172 $this->addClass( 'ffLessManager', FF_FRAMEWORK_DIR.'/framework/assetsIncluding/lessScssCompiler/class.ffLessManager.php');173 $this->addClass( 'ffLessVariableParser', FF_FRAMEWORK_DIR.'/framework/assetsIncluding/lessScssCompiler/class.ffLessVariableParser.php');174 $this->addClass( 'ffLessSystemColorLibraryManager', FF_FRAMEWORK_DIR.'/framework/assetsIncluding/lessScssCompiler/class.ffLessSystemColorLibraryManager.php');175 $this->addClass( 'ffLessSystemColorLibrary', FF_FRAMEWORK_DIR.'/framework/assetsIncluding/lessScssCompiler/class.ffLessSystemColorLibrary.php');176 $this->addClass( 'ffLessSystemColorLibraryBackend', FF_FRAMEWORK_DIR.'/framework/assetsIncluding/lessScssCompiler/class.ffLessSystemColorLibraryBackend.php');177 $this->addClass( 'ffLessSystemColorLibraryDefault', FF_FRAMEWORK_DIR.'/framework/assetsIncluding/lessScssCompiler/class.ffLessSystemColorLibraryDefault.php');178 $this->addClass( 'ffLessUserSelectedColorsDataStorage', FF_FRAMEWORK_DIR.'/framework/assetsIncluding/lessScssCompiler/class.ffLessUserSelectedColorsDataStorage.php');179 180 $this->addClass( 'ffLessColorLibrary', FF_FRAMEWORK_DIR.'/framework/assetsIncluding/lessScssCompiler/class.ffLessColorLibrary.php');181 182 $this->addClass( 'ffOneLessFile', FF_FRAMEWORK_DIR.'/framework/assetsIncluding/lessScssCompiler/class.ffOneLessFile.php');183 $this->addClass( 'ffOneLessFileFactory', FF_FRAMEWORK_DIR.'/framework/assetsIncluding/lessScssCompiler/factories/class.ffOneLessFileFactory.php');184 185 }186 ############################################################################187 # FILE SYSTEM188 ############################################################################189 private function _addFileSystemFiles() {190 $this->addClass( 'ffFileManager_Factory', FF_FRAMEWORK_DIR.'/framework/fileSystem/factories/class.ffFileManager_Factory.php');191 $this->addClass( 'ffFileManager', FF_FRAMEWORK_DIR.'/framework/fileSystem/class.ffFileManager.php');192 $this->addClass( 'ffFileSystem', FF_FRAMEWORK_DIR.'/framework/fileSystem/class.ffFileSystem.php');193 $this->addClass( 'ffFileSystem_Factory', FF_FRAMEWORK_DIR.'/framework/fileSystem/factories/class.ffFileSystem_Factory.php');194 $this->addClass( 'ffHttp', FF_FRAMEWORK_DIR.'/framework/fileSystem/class.ffHttp.php');195 $this->addClass( 'ffFtp', FF_FRAMEWORK_DIR.'/framework/fileSystem/class.ffFtp.php');196 $this->addClass( 'ffPluginInstaller', FF_FRAMEWORK_DIR.'/framework/fileSystem/class.ffPluginInstaller.php');197 $this->addClass( 'ffHtaccess', FF_FRAMEWORK_DIR.'/framework/fileSystem/class.ffHtaccess.php');198 }199 ############################################################################200 # OPTIONS201 ############################################################################202 private function _addOptionsFiles() {203 ########################################################################204 # dataHolders205 ########################################################################206 $this->addClass( 'ffIOneDataNode', FF_FRAMEWORK_DIR.'/framework/options/dataHolders/class.ffIOneDataNode.php');207 $this->addClass( 'ffOneOption', FF_FRAMEWORK_DIR.'/framework/options/dataHolders/class.ffOneOption.php');208 $this->addClass( 'ffOneElement', FF_FRAMEWORK_DIR.'/framework/options/dataHolders/class.ffOneElement.php');209 $this->addClass( 'ffOneSection', FF_FRAMEWORK_DIR.'/framework/options/dataHolders/class.ffOneSection.php');210 $this->addClass( 'ffOneStructure', FF_FRAMEWORK_DIR.'/framework/options/dataHolders/class.ffOneStructure.php');211 $this->addClass( 'ffIOptionsHolder', FF_FRAMEWORK_DIR.'/framework/options/dataHolders/class.ffIOptionsHolder.php');212 $this->addClass( 'ffOptionsHolder', FF_FRAMEWORK_DIR.'/framework/options/dataHolders/class.ffOptionsHolder.php');213 $this->addClass( 'ffOptionsHolder_CachingFacade', FF_FRAMEWORK_DIR.'/framework/options/dataHolders/class.ffOptionsHolder_CachingFacade.php');214 215 ########################################################################216 # factories217 ########################################################################218 $this->addClass( 'ffOneOption_Factory', FF_FRAMEWORK_DIR.'/framework/options/factories/class.ffOneOption_Factory.php');219 $this->addClass( 'ffOneSection_Factory', FF_FRAMEWORK_DIR.'/framework/options/factories/class.ffOneSection_Factory.php');220 $this->addClass( 'ffOneStructure_Factory', FF_FRAMEWORK_DIR.'/framework/options/factories/class.ffOneStructure_Factory.php');221 $this->addClass( 'ffOptions_Factory', FF_FRAMEWORK_DIR.'/framework/options/factories/class.ffOptions_Factory.php');222 $this->addClass( 'ffOptionsQuery_Factory', FF_FRAMEWORK_DIR.'/framework/options/factories/class.ffOptionsQuery_Factory.php');223 $this->addClass( 'ffOptionsArrayConvertor_Factory', FF_FRAMEWORK_DIR.'/framework/options/factories/class.ffOptionsArrayConvertor_Factory.php');224 $this->addClass( 'ffOptionsHolder_Factory', FF_FRAMEWORK_DIR.'/framework/options/factories/class.ffOptionsHolder_Factory.php');225 $this->addClass( 'ffOptionsPrinterComponent_Factory', FF_FRAMEWORK_DIR.'/framework/options/factories/class.ffOptionsPrinterComponent_Factory.php');226 227 228 ########################################################################229 # printerComponent230 ########################################################################231 $this->addClass( 'ffOptionsPrinterElementsAndComponentsBasic', FF_FRAMEWORK_DIR.'/framework/options/printerComponent/class.ffOptionsPrinterElementsAndComponentsBasic.php');232 $this->addClass( 'ffOptionsPrinterElementsBasic', FF_FRAMEWORK_DIR.'/framework/options/printerComponent/class.ffOptionsPrinterElementsBasic.php');233 $this->addClass( 'ffOptionsPrinterComponentsBasic', FF_FRAMEWORK_DIR.'/framework/options/printerComponent/class.ffOptionsPrinterComponentsBasic.php');234 235 $this->addClass( 'ffOptionsPrinterComponents', FF_FRAMEWORK_DIR.'/framework/options/printerComponent/class.ffOptionsPrinterComponents.php');236 $this->addClass( 'ffOptionsPrinterElements', FF_FRAMEWORK_DIR.'/framework/options/printerComponent/class.ffOptionsPrinterElements.php');237 238 239 ########################################################################240 # walkers241 ########################################################################242 $this->addClass( 'ffOptionsWalker', FF_FRAMEWORK_DIR.'/framework/options/walkers/class.ffOptionsWalker.php');243 $this->addClass( 'ffOptionsQuery', FF_FRAMEWORK_DIR.'/framework/options/walkers/class.ffOptionsQuery.php');244 $this->addClass( 'ffOptionsArrayConvertor', FF_FRAMEWORK_DIR.'/framework/options/walkers/class.ffOptionsArrayConvertor.php');245 $this->addClass( 'ffOptionsPostReader', FF_FRAMEWORK_DIR.'/framework/options/walkers/class.ffOptionsPostReader.php');246 247 $this->addClass( 'ffOptionsPrinter', FF_FRAMEWORK_DIR.'/framework/options/walkers/printers/class.ffOptionsPrinter.php');248 $this->addClass( 'ffOptionsPrinterBoxed', FF_FRAMEWORK_DIR.'/framework/options/walkers/printers/class.ffOptionsPrinterBoxed.php');249 $this->addClass( 'ffOptionsPrinterJavaScriptConvertor', FF_FRAMEWORK_DIR.'/framework/options/walkers/printers/class.ffOptionsPrinterJavaScriptConvertor.php');250 $this->addClass( 'ffOptionsPrinterLogic', FF_FRAMEWORK_DIR.'/framework/options/walkers/printers/class.ffOptionsPrinterLogic.php');251 $this->addClass( 'ffOptionsPrinterDataBoxGenerator', FF_FRAMEWORK_DIR.'/framework/options/walkers/printers/class.ffOptionsPrinterDataBoxGenerator.php');252 253 ########################################################################254 # optionholders255 ########################################################################256 257 258 }259 260 ############################################################################261 # GRAPHIC262 ############################################################################263 private function _addGraphicFiles() {264 $this->addClass( 'ffGraphicFactory', FF_FRAMEWORK_DIR.'/framework/graphic/factories/class.ffGraphicFactory.php');265 $this->addClass( 'ffImageInformator', FF_FRAMEWORK_DIR.'/framework/graphic/image/class.ffImageInformator.php');266 267 268 269 }270 271 ############################################################################272 # DATA STORAGE273 ############################################################################274 private function _addDataStorageFiles() {275 $this->addClass( 'ffDataStorage_Factory', FF_FRAMEWORK_DIR.'/framework/dataStorage/factories/class.ffDataStorage_Factory.php');276 $this->addClass( 'ffIDataStorage', FF_FRAMEWORK_DIR.'/framework/dataStorage/class.ffIDataStorage.php');277 $this->addClass( 'ffDataStorage', FF_FRAMEWORK_DIR.'/framework/dataStorage/class.ffDataStorage.php');278 $this->addClass( 'ffDataStorage_WPPostMetas', FF_FRAMEWORK_DIR.'/framework/dataStorage/class.ffDataStorage_WPPostMetas.php');279 $this->addClass( 'ffDataStorage_WPPostMetas_NamespaceFacade', FF_FRAMEWORK_DIR.'/framework/dataStorage/class.ffDataStorage_WPPostMetas_NamespaceFacade.php');280 $this->addClass( 'ffDataStorage_WPOptions', FF_FRAMEWORK_DIR.'/framework/dataStorage/class.ffDataStorage_WPOptions.php');281 $this->addClass( 'ffDataStorage_WPOptions_NamespaceFacade', FF_FRAMEWORK_DIR.'/framework/dataStorage/class.ffDataStorage_WPOptions_NamespaceFacade.php');282 283 $this->addClass( 'ffDataStorage_Cache', FF_FRAMEWORK_DIR.'/framework/dataStorage/class.ffDataStorage_Cache.php');284 285 286 287 ########################################################################288 # DataStorage OptionsPost289 ########################################################################290 $this->addClass( 'ffDataStorage_OptionsPostTypeRegistrator', FF_FRAMEWORK_DIR.'/framework/dataStorage/dataStorageOptionsPost/class.ffDataStorage_OptionsPostTypeRegistrator.php');291 $this->addClass( 'ffDataStorage_OptionsPostType', FF_FRAMEWORK_DIR.'/framework/dataStorage/dataStorageOptionsPost/class.ffDataStorage_OptionsPostType.php');292 $this->addClass( 'ffDataStorage_OptionsPostType_NamespaceFacade', FF_FRAMEWORK_DIR.'/framework/dataStorage/dataStorageOptionsPost/class.ffDataStorage_OptionsPostType_NamespaceFacade.php');293 }294 295 ############################################################################296 # LIBS297 ############################################################################298 private function _addLibsFiles() {299 ########################################################################300 # TWITTER301 ########################################################################302 $this->addClass( 'ffOptionsHolder_Twitter', FF_FRAMEWORK_DIR.'/framework/lib/twitter/class.ffOptionsHolder_Twitter.php');303 $this->addClass( 'ffLib_TwitterFeeder', FF_FRAMEWORK_DIR.'/framework/lib/twitter/class.ffLib_TwitterFeeder.php');304 $this->addClass( 'ffLib_TwitterFeeder_OAuthFactory', FF_FRAMEWORK_DIR.'/framework/lib/twitter/factories/class.ffLib_TwitterFeeder_OAuthFactory.php');305 $this->addClass( 'extTwitterOAuth', FF_FRAMEWORK_DIR.'/framework/lib/twitter/class.extTwitterOAuth.php');306 $this->addClass( 'ffLib_TwitterFeeder_OneTweet', FF_FRAMEWORK_DIR.'/framework/lib/twitter/class.ffLib_TwitterFeeder_OneTweet.php');307 $this->addClass( 'ffLib_TwitterFeeder_OneTweet_Factory', FF_FRAMEWORK_DIR.'/framework/lib/twitter/factories/class.ffLib_TwitterFeeder_OneTweet_Factory.php');308 $this->addClass( 'ffLib_TwitterFeeder_TweetsCollection', FF_FRAMEWORK_DIR.'/framework/lib/twitter/class.ffLib_TwitterFeeder_TweetsCollection.php');309 $this->addClass( 'ffLib_TwitterFeeder_TweetsCollection_Factory', FF_FRAMEWORK_DIR.'/framework/lib/twitter/factories/class.ffLib_TwitterFeeder_TweetsCollection_Factory.php');310 311 ########################################################################312 # CONDITIONAL LOGIC313 ########################################################################314 $this->addClass( 'ffOptionsHolderConditionalLogic', FF_FRAMEWORK_DIR.'/framework/lib/conditionalLogic/class.ffOptionsHolderConditionalLogic.php');315 $this->addClass( 'ffConditionalLogicEvaluator', FF_FRAMEWORK_DIR.'/framework/lib/conditionalLogic/class.ffConditionalLogicEvaluator.php');316 $this->addClass( 'ffConditionalLogicConstants', FF_FRAMEWORK_DIR.'/framework/lib/conditionalLogic/class.ffConditionalLogicConstants.php');317 318 ########################################################################319 # colorLibrary320 ########################################################################321 $this->addClass( 'ffUserColorLibraryItemFactory', FF_FRAMEWORK_DIR.'/framework/lib/colorLibrary/factories/class.ffUserColorLibraryItemFactory.php');322 $this->addClass( 'ffUserColorLibrary', FF_FRAMEWORK_DIR.'/framework/lib/colorLibrary/class.ffUserColorLibrary.php');323 $this->addClass( 'ffUserColorLibraryItem', FF_FRAMEWORK_DIR.'/framework/lib/colorLibrary/class.ffUserColorLibraryItem.php');324 ########################################################################325 # BREADCRUMBS326 ########################################################################327 $this->addClass( 'ffBreadcrumbs', FF_FRAMEWORK_DIR.'/framework/lib/breadcrumbs/class.ffBreadcrumbs.php');328 $this->addClass( 'ffBreadcrumbsCollection', FF_FRAMEWORK_DIR.'/framework/lib/breadcrumbs/class.ffBreadcrumbsCollection.php');329 $this->addClass( 'ffOneBreadcrumb', FF_FRAMEWORK_DIR.'/framework/lib/breadcrumbs/class.ffOneBreadcrumb.php');330 $this->addClass( 'ffBreadcrumbsCollectionFactory', FF_FRAMEWORK_DIR.'/framework/lib/breadcrumbs/factories/class.ffBreadcrumbsCollectionFactory.php');331 $this->addClass( 'ffOneBreadcrumbFactory', FF_FRAMEWORK_DIR.'/framework/lib/breadcrumbs/factories/class.ffOneBreadcrumbFactory.php');332 }333 ############################################################################334 # COMPONENT335 ############################################################################ 336 private function _addComponentFiles() {337 $this->addClass( 'ffComponentAbstract', FF_FRAMEWORK_DIR.'/framework/components/class.ffComponentAbstract.php');338 $this->addClass( 'ffWidgetDecoratorAbstract', FF_FRAMEWORK_DIR.'/framework/components/class.ffWidgetDecoratorAbstract.php');339 340 341 $this->addClass( 'ffComponent_Factory', FF_FRAMEWORK_DIR.'/framework/components/factories/class.ffComponent_Factory.php');342 343 $this->addClass( 'ffWidgetManager', FF_FRAMEWORK_DIR.'/framework/components/class.ffWidgetManager.php');344 }345 346 ############################################################################347 # ADMIN SCREEN FILE348 ############################################################################349 private function _addAdminScreenFiles() {350 $this->addClass( 'ffMenuFactory', FF_FRAMEWORK_DIR.'/framework/adminScreens/factories/class.ffMenuFactory.php');351 $this->addClass( 'ffMenu', FF_FRAMEWORK_DIR.'/framework/adminScreens/class.ffMenu.php');352 $this->addClass( 'ffMenuManager', FF_FRAMEWORK_DIR.'/framework/adminScreens/class.ffMenuManager.php');353 $this->addClass( 'ffAdminScreenManager', FF_FRAMEWORK_DIR.'/framework/adminScreens/class.ffAdminScreenManager.php');354 $this->addClass( 'ffAdminScreen', FF_FRAMEWORK_DIR.'/framework/adminScreens/class.ffAdminScreen.php');355 $this->addClass( 'ffAdminScreenView', FF_FRAMEWORK_DIR.'/framework/adminScreens/class.ffAdminScreenView.php');356 $this->addClass( 'ffIAdminScreen', FF_FRAMEWORK_DIR.'/framework/adminScreens/interfaces/class.ffIAdminScreen.php');357 $this->addClass( 'ffIAdminScreenView', FF_FRAMEWORK_DIR.'/framework/adminScreens/interfaces/class.ffIAdminScreenView.php');358 $this->addClass( 'ffAdminScreenFactory', FF_FRAMEWORK_DIR.'/framework/adminScreens/factories/class.ffAdminScreenFactory.php');359 $this->addClass( 'ffAdminScreenViewFactory', FF_FRAMEWORK_DIR.'/framework/adminScreens/factories/class.ffAdminScreenViewFactory.php');360 361 $this->addClass( 'ffAdminScreenAjax', FF_FRAMEWORK_DIR.'/framework/adminScreens/class.ffAdminScreenAjax.php');362 $this->addClass( 'ffAdminScreenAjaxFactory', FF_FRAMEWORK_DIR.'/framework/adminScreens/factories/class.ffAdminScreenAjaxFactory.php');363 364 $this->addClass( 'ffModalWindowBasicObject', FF_FRAMEWORK_DIR.'/framework/adminScreens/modalWindow/class.ffModalWindowBasicObject.php');365 $this->addClass( 'ffModalWindowFactory', FF_FRAMEWORK_DIR.'/framework/adminScreens/modalWindow/factories/class.ffModalWindow_Factory.php');366 $this->addClass( 'ffModalWindow', FF_FRAMEWORK_DIR.'/framework/adminScreens/modalWindow/class.ffModalWindow.php');367 $this->addClass( 'ffModalWindowView', FF_FRAMEWORK_DIR.'/framework/adminScreens/modalWindow/class.ffModalWindowView.php');368 $this->addClass( 'ffModalWindowManager', FF_FRAMEWORK_DIR.'/framework/adminScreens/modalWindow/class.ffModalWindowManager.php');369 $this->addClass( 'ffModalWindowAjaxManager', FF_FRAMEWORK_DIR.'/framework/adminScreens/modalWindow/class.ffModalWindowAjaxManager.php');370 371 // CONDITIONS372 $this->addClass( 'ffModalWindowManagerConditions', FF_FRAMEWORK_DIR.'/framework/adminScreens/modalWindow/conditions/class.ffModalWindowManagerConditions.php');373 $this->addClass( 'ffModalWindowConditions', FF_FRAMEWORK_DIR.'/framework/adminScreens/modalWindow/conditions/class.ffModalWindowConditions.php');374 $this->addClass( 'ffModalWindowConditionsViewDefault', FF_FRAMEWORK_DIR.'/framework/adminScreens/modalWindow/conditions/class.ffModalWindowConditionsViewDefault.php');375 //$this->addClass( 'ffModalWindowManagerPokus', FF_FRAMEWORK_DIR.'/framework/adminScreens/modalWindow/pokus/class.ffModalWindowManagerPokus.php');376 // LIBRARY COLOR PICKER377 $this->addClass( 'ffModalWindowManagerLibraryIconPicker', FF_FRAMEWORK_DIR.'/framework/adminScreens/modalWindow/libraries/icon/picker/class.ffModalWindowManagerLibraryIconPicker.php');378 $this->addClass( 'ffModalWindowLibraryIconPicker', FF_FRAMEWORK_DIR.'/framework/adminScreens/modalWindow/libraries/icon/picker/class.ffModalWindowLibraryIconPicker.php');379 $this->addClass( 'ffModalWindowLibraryIconPickerViewDefault', FF_FRAMEWORK_DIR.'/framework/adminScreens/modalWindow/libraries/icon/picker/class.ffModalWindowLibraryIconPickerViewDefault.php');380 $this->addClass( 'ffModalWindowLibraryIconPickerIconPreparator', FF_FRAMEWORK_DIR.'/framework/adminScreens/modalWindow/libraries/icon/picker/class.ffModalWindowLibraryIconPickerIconPreparator.php');381 // LIBRARY COLOR PICKER382 $this->addClass( 'ffModalWindowManagerLibraryColorPicker', FF_FRAMEWORK_DIR.'/framework/adminScreens/modalWindow/libraries/color/picker/class.ffModalWindowManagerLibraryColorPicker.php');383 $this->addClass( 'ffModalWindowLibraryColorPicker', FF_FRAMEWORK_DIR.'/framework/adminScreens/modalWindow/libraries/color/picker/class.ffModalWindowLibraryColorPicker.php');384 $this->addClass( 'ffModalWindowLibraryColorPickerViewDefault', FF_FRAMEWORK_DIR.'/framework/adminScreens/modalWindow/libraries/color/picker/class.ffModalWindowLibraryColorPickerViewDefault.php');385 $this->addClass( 'ffModalWindowLibraryColorPickerColorPreparator', FF_FRAMEWORK_DIR.'/framework/adminScreens/modalWindow/libraries/color/picker/class.ffModalWindowLibraryColorPickerColorPreparator.php');386 // LIBRARY COLOR EDITOR387 $this->addClass( 'ffModalWindowManagerLibraryColorEditor', FF_FRAMEWORK_DIR.'/framework/adminScreens/modalWindow/libraries/color/editor/class.ffModalWindowManagerLibraryColorEditor.php');388 $this->addClass( 'ffModalWindowLibraryColorEditor', FF_FRAMEWORK_DIR.'/framework/adminScreens/modalWindow/libraries/color/editor/class.ffModalWindowLibraryColorEditor.php');389 $this->addClass( 'ffModalWindowLibraryColorEditorViewDefault', FF_FRAMEWORK_DIR.'/framework/adminScreens/modalWindow/libraries/color/editor/class.ffModalWindowLibraryColorEditorViewDefault.php');390 // LIBRARY ADD GROUP391 $this->addClass( 'ffModalWindowManagerLibraryAddGroup', FF_FRAMEWORK_DIR.'/framework/adminScreens/modalWindow/libraries/color/addGroup/class.ffModalWindowManagerLibraryAddGroup.php');392 $this->addClass( 'ffModalWindowLibraryAddGroup', FF_FRAMEWORK_DIR.'/framework/adminScreens/modalWindow/libraries/color/addGroup/class.ffModalWindowLibraryAddGroup.php');393 $this->addClass( 'ffModalWindowLibraryAddGroupViewDefault', FF_FRAMEWORK_DIR.'/framework/adminScreens/modalWindow/libraries/color/addGroup/class.ffModalWindowLibraryAddGroupViewDefault.php');394 395 // LIBRARY DELETE GROUP396 $this->addClass( 'ffModalWindowManagerLibraryDeleteGroup', FF_FRAMEWORK_DIR.'/framework/adminScreens/modalWindow/libraries/color/deleteGroup/class.ffModalWindowManagerLibraryDeleteGroup.php');397 $this->addClass( 'ffModalWindowLibraryDeleteGroup', FF_FRAMEWORK_DIR.'/framework/adminScreens/modalWindow/libraries/color/deleteGroup/class.ffModalWindowLibraryDeleteGroup.php');398 $this->addClass( 'ffModalWindowLibraryDeleteGroupViewDefault', FF_FRAMEWORK_DIR.'/framework/adminScreens/modalWindow/libraries/color/deleteGroup/class.ffModalWindowLibraryDeleteGroupViewDefault.php');399 400 // LIBRARY SECTION PICKER401 $this->addClass( 'ffModalWindowManagerSectionPicker', FF_FRAMEWORK_DIR.'/framework/adminScreens/modalWindow/libraries/section/class.ffModalWindowManagerSectionPicker.php');402 $this->addClass( 'ffModalWindowSectionPicker', FF_FRAMEWORK_DIR.'/framework/adminScreens/modalWindow/libraries/section/class.ffModalWindowSectionPicker.php');403 $this->addClass( 'ffModalWindowSectionPickerViewDefault', FF_FRAMEWORK_DIR.'/framework/adminScreens/modalWindow/libraries/section/class.ffModalWindowSectionPickerViewDefault.php');404 405 406 $this->addClass( 'ffMetaBoxes', FF_FRAMEWORK_DIR.'/framework/adminScreens/metaBoxes/factories/class.ffMetaBoxes.php');407 $this->addClass( 'ffMetaBox', FF_FRAMEWORK_DIR.'/framework/adminScreens/metaBoxes/class.ffMetaBox.php');408 $this->addClass( 'ffMetaBoxView', FF_FRAMEWORK_DIR.'/framework/adminScreens/metaBoxes/class.ffMetaBoxView.php');409 $this->addClass( 'ffMetaBoxManager', FF_FRAMEWORK_DIR.'/framework/adminScreens/metaBoxes/class.ffMetaBoxManager.php');410 411 $this->addClass( 'ffMetaBoxViewFactory', FF_FRAMEWORK_DIR.'/framework/adminScreens/metaBoxes/factories/class.ffMetaBoxViewFactory.php');412 $this->addClass( 'ffMetaBoxFactory', FF_FRAMEWORK_DIR.'/framework/adminScreens/metaBoxes/factories/class.ffMetaBoxFactory.php');413 }414 ############################################################################415 # EXTERN FILES416 ############################################################################ 417 private function _addExternFiles() {418 ########################################################################419 # MINIFICATION420 ########################################################################421 $this->addClass( 'externCssMin', FF_FRAMEWORK_DIR.'/framework/extern/minify/CSSmin.php');422 $this->addClass( 'externJsMinPlus', FF_FRAMEWORK_DIR.'/framework/extern/minify/JSMinPlus.php');423 $this->addClass( 'externJsMinPlus_Adapteur', FF_FRAMEWORK_DIR.'/framework/extern/minify/JSMinPlus_Adapteur.php');424 425 ########################################################################426 # FTP427 ########################################################################428 $this->addClass( 'externDgFtp', FF_FRAMEWORK_DIR.'/framework/extern/ftp/dgFtp.php');429 430 ########################################################################431 # less432 ########################################################################433 $this->addClass( 'lessc_freshframework', FF_FRAMEWORK_DIR.'/framework/extern/less/lessc.inc.php');434 ########################################################################435 # scss436 ########################################################################437 $this->addClass( 'scssCss', FF_FRAMEWORK_DIR.'/framework/extern/scss/scss.inc.php');438 439 ########################################################################440 # ACE441 ########################################################################442 $this->addClass( 'ffAceLoader', FF_FRAMEWORK_DIR.'/framework/extern/ace/class.ffAceLoader.php');443 444 ########################################################################445 # Select2446 ########################################################################447 $this->addClass( 'ffSelect2Loader', FF_FRAMEWORK_DIR.'/framework/extern/select2/class.ffSelect2Loader.php');448 }449 450 ############################################################################451 # QUERY FILES452 ############################################################################453 private function _addQueryFiles() {454 ########################################################################455 # IDENTIFICATORS456 ########################################################################457 $this->addClass( 'ffCustomPostTypeIdentificator', FF_FRAMEWORK_DIR.'/framework/query/identificators/post/class.ffCustomPostTypeIdentificator.php');458 $this->addClass( 'ffCustomPostTypeCollection', FF_FRAMEWORK_DIR.'/framework/query/identificators/post/class.ffCustomPostTypeCollection.php');459 $this->addClass( 'ffCustomPostTypeCollectionItem_Factory', FF_FRAMEWORK_DIR.'/framework/query/identificators/post/factories/class.ffCustomPostTypeCollectionItem_Factory.php');460 $this->addClass( 'ffCustomPostTypeCollection_Factory', FF_FRAMEWORK_DIR.'/framework/query/identificators/post/factories/class.ffCustomPostTypeCollection_Factory.php');461 $this->addClass( 'ffCustomPostTypeCollectionItem', FF_FRAMEWORK_DIR.'/framework/query/identificators/post/class.ffCustomPostTypeCollectionItem.php');462 463 $this->addClass( 'ffCustomTaxonomyIdentificator', FF_FRAMEWORK_DIR.'/framework/query/identificators/taxonomy/class.ffCustomTaxonomyIdentificator.php');464 $this->addClass( 'ffCustomTaxonomyCollection', FF_FRAMEWORK_DIR.'/framework/query/identificators/taxonomy/class.ffCustomTaxonomyCollection.php');465 $this->addClass( 'ffCustomTaxonomyCollectionItem', FF_FRAMEWORK_DIR.'/framework/query/identificators/taxonomy/class.ffCustomTaxonomyCollectionItem.php');466 467 $this->addClass( 'ffCustomTaxonomyCollection_Factory', FF_FRAMEWORK_DIR.'/framework/query/identificators/taxonomy/factories/class.ffCustomTaxonomyCollection_Factory.php');468 $this->addClass( 'ffCustomTaxonomyCollectionItem_Factory', FF_FRAMEWORK_DIR.'/framework/query/identificators/taxonomy/factories/class.ffCustomTaxonomyCollectionItem_Factory.php');469 470 ########################################################################471 # QUERY472 ########################################################################473 $this->addClass( 'ffFrontendQueryIdentificator', FF_FRAMEWORK_DIR.'/framework/query/identificators/query/class.ffFrontendQueryIdentificator.php');474 }475 private function _addAttachmentLayerFiles(){476 $this->addClass( 'ffAttachmentLayer', FF_FRAMEWORK_DIR.'/framework/query/attachments/class.ffAttachmentLayer.php');477 $this->addClass( 'ffAttachmentLayer_Factory', FF_FRAMEWORK_DIR.'/framework/query/attachments/class.ffAttachmentLayer_Factory.php');478 // Attachment list in admim479 //$this->addClass( 'ffAttachmentAdminColumn', FF_FRAMEWORK_DIR.'/framework/query/attachments/items/class.ffAttachmentAdminColumn.php');480 // Attachment collection returned by getter481 $this->addClass( 'ffAttachmentCollection_Factory', FF_FRAMEWORK_DIR.'/framework/query/attachments/items/class.ffAttachmentCollection_Factory.php');482 $this->addClass( 'ffAttachmentCollectionItem', FF_FRAMEWORK_DIR.'/framework/query/attachments/items/class.ffAttachmentCollectionItem.php');483 $this->addClass( 'ffAttachmentCollection', FF_FRAMEWORK_DIR.'/framework/query/attachments/items/class.ffAttachmentCollection.php');484 // Attachments485 $this->addClass( 'ffAttachmentGetter', FF_FRAMEWORK_DIR.'/framework/query/attachments/items/class.ffAttachmentGetter.php');486 $this->addClass( 'ffAttachmentUpdater', FF_FRAMEWORK_DIR.'/framework/query/attachments/items/class.ffAttachmentUpdater.php');487 // Pseudo - Registrator488 $this->addClass( 'ffMimeTypesManager', FF_FRAMEWORK_DIR.'/framework/query/attachments/class.ffMimeTypesManager.php');489 }490 491 private function _addPostLayerFiles() {492 $this->addClass( 'ffPostLayer', FF_FRAMEWORK_DIR.'/framework/query/posts/class.ffPostLayer.php');493 $this->addClass( 'ffPostLayer_Factory', FF_FRAMEWORK_DIR.'/framework/query/posts/class.ffPostLayer_Factory.php');494 // Post list in admim495 $this->addClass( 'ffPostAdminColumnManager', FF_FRAMEWORK_DIR.'/framework/query/posts/class.ffPostAdminColumnManager.php');496 // Post collection returned by getter497 $this->addClass( 'ffPostCollection_Factory', FF_FRAMEWORK_DIR.'/framework/query/posts/items/class.ffPostCollection_Factory.php');498 $this->addClass( 'ffPostCollectionItem', FF_FRAMEWORK_DIR.'/framework/query/posts/items/class.ffPostCollectionItem.php');499 $this->addClass( 'ffPostCollection', FF_FRAMEWORK_DIR.'/framework/query/posts/items/class.ffPostCollection.php');500 // Posts501 $this->addClass( 'ffPostGetter', FF_FRAMEWORK_DIR.'/framework/query/posts/items/class.ffPostGetter.php');502 $this->addClass( 'ffPostUpdater', FF_FRAMEWORK_DIR.'/framework/query/posts/items/class.ffPostUpdater.php');503 // Registrator504 $this->addClass( 'ffPostTypeRegistrator', FF_FRAMEWORK_DIR.'/framework/query/posts/registrator/class.ffPostTypeRegistrator.php' );505 $this->addClass( 'ffPostTypeRegistratorArgs', FF_FRAMEWORK_DIR.'/framework/query/posts/registrator/class.ffPostTypeRegistratorArgs.php' );506 $this->addClass( 'ffPostTypeRegistratorLabels', FF_FRAMEWORK_DIR.'/framework/query/posts/registrator/class.ffPostTypeRegistratorLabels.php' );507 $this->addClass( 'ffPostTypeRegistratorMessages', FF_FRAMEWORK_DIR.'/framework/query/posts/registrator/class.ffPostTypeRegistratorMessages.php' );508 $this->addClass( 'ffPostTypeRegistratorSupports', FF_FRAMEWORK_DIR.'/framework/query/posts/registrator/class.ffPostTypeRegistratorSupports.php' );509 $this->addClass( 'ffPostTypeRegistratorManager', FF_FRAMEWORK_DIR.'/framework/query/posts/registrator/class.ffPostTypeRegistratorManager.php');510 $this->addClass( 'ffPostTypeRegistrator_Factory', FF_FRAMEWORK_DIR.'/framework/query/posts/registrator/class.ffPostTypeRegistrator_Factory.php' );511 }512 513 private function _addTaxLayerFiles() {514 $this->addClass( 'ffTaxLayer', FF_FRAMEWORK_DIR.'/framework/query/taxonomies/class.ffTaxLayer.php');515 $this->addClass( 'ffTaxLayer_Factory', FF_FRAMEWORK_DIR.'/framework/query/taxonomies/class.ffTaxLayer_Factory.php');516 // Taxonomies517 $this->addClass( 'ffTaxGetter', FF_FRAMEWORK_DIR.'/framework/query/taxonomies/items/class.ffTaxGetter.php');518 $this->addClass( 'ffTaxUpdater', FF_FRAMEWORK_DIR.'/framework/query/taxonomies/items/class.ffTaxUpdater.php');519 // Taxonomy list in admim520 $this->addClass( 'ffTaxAdminColumn', FF_FRAMEWORK_DIR.'/framework/query/taxonomies/items/adminColumns/class.ffTaxAdminColumn.php');521 // Registrator 522 $this->addClass( 'ffCustomTaxonomy', FF_FRAMEWORK_DIR.'/framework/query/taxonomies/registrator/class.ffCustomTaxonomy.php' );523 $this->addClass( 'ffCustomTaxonomyArgs', FF_FRAMEWORK_DIR.'/framework/query/taxonomies/registrator/class.ffCustomTaxonomyArgs.php' );524 $this->addClass( 'ffCustomTaxonomyLabels', FF_FRAMEWORK_DIR.'/framework/query/taxonomies/registrator/class.ffCustomTaxonomyLabels.php' );525 //$this->addClass( 'ffCustomTaxonomyMessages', FF_FRAMEWORK_DIR.'/framework/query/taxonomies/registrator/class.ffCustomTaxonomyMessages.php' );526 $this->addClass( 'ffCustomTaxonomyManager', FF_FRAMEWORK_DIR.'/framework/query/taxonomies/registrator/class.ffCustomTaxonomyManager.php');527 $this->addClass( 'ffCustomTaxonomy_Factory', FF_FRAMEWORK_DIR.'/framework/query/taxonomies/registrator/class.ffCustomTaxonomy_Factory.php' );528 } 529 ############################################################################ 530 # UPDATER FILES531 ############################################################################532 private function _addUpdaterFiles() {533 $this->addClass( 'ffWPUpgrader', FF_FRAMEWORK_DIR.'/framework/updater/class.ffWPUpgrader.php');534 }535 536 537 ############################################################################538 # FRSLIB FILES539 ############################################################################540 private function _addFrsLibFiles() {541 $this->addClass( 'ffFrsLibLoader', FF_FRAMEWORK_DIR.'/framework/frs/class.ffFrsLibLoader.php');542 } 543 544 ############################################################################545 # SHORTCODES FILES546 ############################################################################547 private function _addThemeFiles() {548 $this->addClass( 'ffThemeAssetsIncluderAbstract', FF_FRAMEWORK_DIR.'/framework/themes/assetsIncluding/class.ffThemeAssetsIncluderAbstract.php');549 $this->addClass( 'ffThemeAssetsManager', FF_FRAMEWORK_DIR.'/framework/themes/assetsIncluding/class.ffThemeAssetsManager.php');550 $this->addClass( 'ffThemeFrameworkFactory', FF_FRAMEWORK_DIR.'/framework/themes/factories/class.ffThemeFrameworkFactory.php');551 552 $this->addClass('ffVideoIncluder', FF_FRAMEWORK_DIR.'/framework/themes/functions/class.ffVideoIncluder.php');553 $this->addClass('ffPaginationComputer', FF_FRAMEWORK_DIR.'/framework/themes/functions/class.ffPaginationComputer.php');554 $this->addClass('ffPaginationWPLoop', FF_FRAMEWORK_DIR.'/framework/themes/functions/class.ffPaginationWPLoop.php');555 $this->addClass('ffSocialFeedCreator', FF_FRAMEWORK_DIR.'/framework/themes/functions/class.ffSocialFeedCreator.php');556 $this->addClass('ffSocialSharerFeedCreator', FF_FRAMEWORK_DIR.'/framework/themes/functions/class.ffSocialSharerFeedCreator.php');557 $this->addClass('ffThemeViewIdentificator', FF_FRAMEWORK_DIR.'/framework/themes/functions/class.ffThemeViewIdentificator.php');558 559 $this->addClass('ffPostMetaGetter', FF_FRAMEWORK_DIR.'/framework/themes/functions/class.ffPostMetaGetter.php');560 $this->addClass('ffNavMenuWalker', FF_FRAMEWORK_DIR.'/framework/themes/functions/class.ffNavMenuWalker.php');561 $this->addClass('ffCommentsFormPrinter', FF_FRAMEWORK_DIR.'/framework/themes/functions/class.ffCommentsFormPrinter.php');562 $this->addClass('ffAttrHelper', FF_FRAMEWORK_DIR.'/framework/themes/functions/class.ffAttrHelper.php');563 ############################################################################564 # THEME LAYOUT MANAGER565 ############################################################################566 $this->addClass('ffLayoutsNamespaceFactory', FF_FRAMEWORK_DIR.'/framework/themes/layouts/factories/class.ffLayoutsNamespaceFactory.php');567 $this->addClass('ffOnePageRevisionManager', FF_FRAMEWORK_DIR.'/framework/themes/layouts/class.ffOnePageRevisionManager.php');568 $this->addClass('ffThemeLayoutManager', FF_FRAMEWORK_DIR.'/framework/themes/layouts/class.ffThemeLayoutManager.php');569 $this->addClass('ffLayoutsEmojiManager', FF_FRAMEWORK_DIR.'/framework/themes/layouts/class.ffLayoutsEmojiManager.php');570 $this->addClass('ffLayoutPostType', FF_FRAMEWORK_DIR.'/framework/themes/layouts/class.ffLayoutPostType.php');571 $this->addClass('ffOptionsHolder_Layout_Conditions', FF_FRAMEWORK_DIR.'/framework/themes/layouts/optionsHolders/class.ffOptionsHolder_Layout_Conditions.php');572 $this->addClass('ffOptionsHolder_Layout_Placement', FF_FRAMEWORK_DIR.'/framework/themes/layouts/optionsHolders/class.ffOptionsHolder_Layout_Placement.php');573 $this->addClass('ffLayoutPostType', FF_FRAMEWORK_DIR.'/framework/themes/layouts/class.ffLayoutPostType.php');574 $this->addClass('ffLayoutsDataManager', FF_FRAMEWORK_DIR.'/framework/themes/layouts/class.ffLayoutsDataManager.php');575 $this->addClass('ffLayoutCollectionItem_Factory', FF_FRAMEWORK_DIR.'/framework/themes/layouts/factories/class.ffLayoutCollectionItem_Factory.php');576 $this->addClass('ffLayoutsCollection', FF_FRAMEWORK_DIR.'/framework/themes/layouts/class.ffLayoutsCollection.php');577 $this->addClass('ffLayoutsCollectionFactory', FF_FRAMEWORK_DIR.'/framework/themes/layouts/factories/class.ffLayoutsCollectionFactory.php');578 $this->addClass('ffLayoutCollectionItem', FF_FRAMEWORK_DIR.'/framework/themes/layouts/class.ffLayoutCollectionItem.php');579 $this->addClass('ffLayoutPrinter', FF_FRAMEWORK_DIR.'/framework/themes/layouts/class.ffLayoutPrinter.php');580 $this->addClass('ffMetaBoxLayoutContent', FF_FRAMEWORK_DIR.'/framework/themes/layouts/metaBoxes/metaBoxLayoutContent/class.ffMetaBoxLayoutContent.php');581 $this->addClass('ffMetaBoxLayoutContentView', FF_FRAMEWORK_DIR.'/framework/themes/layouts/metaBoxes/metaBoxLayoutContent/class.ffMetaBoxLayoutContentView.php');582 $this->addClass('ffMetaBoxLayoutPlacement', FF_FRAMEWORK_DIR.'/framework/themes/layouts/metaBoxes/metaBoxLayoutPlacement/class.ffMetaBoxLayoutPlacement.php');583 $this->addClass('ffMetaBoxLayoutPlacementView', FF_FRAMEWORK_DIR.'/framework/themes/layouts/metaBoxes/metaBoxLayoutPlacement/class.ffMetaBoxLayoutPlacementView.php');584 $this->addClass('ffMetaBoxLayoutConditions', FF_FRAMEWORK_DIR.'/framework/themes/layouts/metaBoxes/metaBoxLayoutConditions/class.ffMetaBoxLayoutConditions.php');585 $this->addClass('ffMetaBoxLayoutConditionsView', FF_FRAMEWORK_DIR.'/framework/themes/layouts/metaBoxes/metaBoxLayoutConditions/class.ffMetaBoxLayoutConditionsView.php');586 ############################################################################587 # THEME MENU OPTIONS588 ############################################################################589 $this->addClass('ffMenuOptionsManager', FF_FRAMEWORK_DIR.'/framework/themes/menuOptions/class.ffMenuOptionsManager.php');590 }591 592 private function _addConstantFiles() {593 $this->addClass( 'ffConstActions', FF_FRAMEWORK_DIR.'/framework/constants/class.ffConstActions.php');594 $this->addClass( 'ffConstThemeViews', FF_FRAMEWORK_DIR.'/framework/constants/class.ffConstThemeViews.php');595 $this->addClass( 'ffConstHTMLClasses', FF_FRAMEWORK_DIR.'/framework/constants/class.ffConstHTMLClasses.php');596 $this->addClass( 'ffConstQuery', FF_FRAMEWORK_DIR.'/framework/constants/class.ffConstQuery.php');597 $this->addClass( 'ffConstCache', FF_FRAMEWORK_DIR.'/framework/constants/class.ffConstCache.php');598 599 }600 601 ############################################################################602 # SHORTCODES FILES603 ############################################################################604 private function _addShortcodesFiles() {605 $this->addClass( 'ffShortcodesNamespaceFactory', FF_FRAMEWORK_DIR.'/framework/shortcodes/factories/class.ffShortcodesNamespaceFactory.php');606 $this->addClass( 'ffShortcodeFactory', FF_FRAMEWORK_DIR.'/framework/shortcodes/factories/class.ffShortcodeFactory.php');607 $this->addClass( 'ffShortcodeManager', FF_FRAMEWORK_DIR.'/framework/shortcodes/class.ffShortcodeManager.php');608 $this->addClass( 'ffShortcodeObjectBasic', FF_FRAMEWORK_DIR.'/framework/shortcodes/class.ffShortcodeObjectBasic.php');609 $this->addClass( 'ffShortcodeContentParser', FF_FRAMEWORK_DIR.'/framework/shortcodes/class.ffShortcodeContentParser.php');610 }611 private function _addUserFiles() {612 $this->addClass( 'ffUser', FF_FRAMEWORK_DIR.'/framework/query/users/class.ffUser.php');613 $this->addClass( 'ffUserFactory', FF_FRAMEWORK_DIR.'/framework/query/users/class.ffUserFactory.php');614 $this->addClass( 'ffUserNamespaceFactory', FF_FRAMEWORK_DIR.'/framework/query/users/class.ffUserNamespaceFactory.php');615 $this->addClass( 'ffUserModel', FF_FRAMEWORK_DIR.'/framework/query/users/class.ffUserModel.php');616 $this->addClass( 'ffUserRole', FF_FRAMEWORK_DIR.'/framework/query/users/class.ffUserRole.php');617 $this->addClass( 'ffUserRoleFactory', FF_FRAMEWORK_DIR.'/framework/query/users/class.ffUserRoleFactory.php');618 $this->addClass( 'ffUserRoleManager', FF_FRAMEWORK_DIR.'/framework/query/users/class.ffUserRoleManager.php');619 }620 private function _addDatabaseFiles() {621 $this->addClass( 'ffDatabaseModelBasic', FF_FRAMEWORK_DIR.'/framework/database/class.ffDatabaseModelBasic.php');622 }623 private function _initFrameworkClasses() {624 $this->_addCoreFiles();625 $this->_addAttachmentLayerFiles();626 $this->_addPostLayerFiles();627 $this->_addTaxLayerFiles();628 $this->_addUserFiles();629 $this->_addAssetsFiles();630 $this->_addFileSystemFiles();631 $this->_addOptionsFiles();632 $this->_addDataStorageFiles();633 $this->_addGraphicFiles();634 $this->_addLibsFiles();635 $this->_addComponentFiles();...

Full Screen

Full Screen

utils.php

Source:utils.php Github

copy

Full Screen

...15 16 17 $menu->addAction(function($item, $link){18 if($item->isActive()){19 $item->addClass('active');20 }21 if($item->level < 2){22 $item->addClass('nav-item');23 $link->addClass('nav-link');24 }25 $level = $item->getSonLevel();26 $SubItems = ($hasSub = $item->hasSubMenu()) ? $item->sub->count() : 0;27 if(!$item->level){28 if($hasSub){29 if($level == 1){30 $item->addClass('dropdown submenu');31 $item->sub->addClass('dropdown-menu');32 33 $link->after('<i class="arrow_carrot-down_alt2 mobile_dropdown_icon" aria-hidden="true" data-toggle="dropdown"></i>');34 $link->addClass('dropdown-toggle');35 }36 }37 38 }39 else{40 if ($item->level == 1 && $item->parent->sub->count() > 0 && $item->parent->getSonLevel() > 1) {41 // // if(in_array($style, [3, 4])){42 43 // $item->removeClass()->addClass('mega-menu__column');44 // $item->tagName = 'div';45 // $link->href = '';46 // $link->removeClass()->append('<span class="sub-toggle"></span>');47 // $link->tagName = 'h4';48 // if($hasSub) $item->sub->addClass('mega-menu__list');49 50 // // }51 }52 53 }54 55 });56 return $menu;57 }58}59if(!function_exists('dockly_mobile_menu')){60 function dockly_mobile_menu($id = null, $attrs = [], $options = [], $action = null){61 $menu = Helper::getCustomMenu($id?$id:'primary', 2, $attrs, $options, $action);62 63 64 $menu->addAction(function($item, $link){65 $item->addClass('nav-item');66 $link->addClass('nav-link');67 if($item->isActive()){68 $item->addClass('active');69 }70 71 72 $level = $item->getSonLevel();73 $SubItems = ($hasSub = $item->hasSubMenu()) ? $item->sub->count() : 0;74 if($hasSub){75 if($level == 1){76 $item->addClass('dropdown submenu');77 $item->sub->addClass('dropdown-menu');78 $link->after('<i class="arrow_carrot-down_alt2 mobile_dropdown_icon"></i>');79 // $link->addClass('dropdown-toggle');80 }81 }82 83 });84 return $menu;85 }86}87if(!function_exists('dockly_sidebar_mobile_menu')){88 function dockly_sidebar_mobile_menu($id = null, $attrs = [], $options = [], $action = null){89 $menu = Helper::getCustomMenu($id?$id:'docsleft', 4, $attrs, $options, $action);90 91 92 $menu->addAction(function($item, $link){93 94 $level = $item->getSonLevel();95 $SubItems = ($hasSub = $item->hasSubMenu()) ? $item->sub->count() : 0;96 if($item->isActive()){97 $item->addClass('active');98 }99 if($item->level < 1){100 $item->addClass('nav-item');101 $link->addClass('nav-link');102 }else{103 $item->removeClass('nav-item');104 $link->removeClass('nav-link');105 }106 if($hasSub){107 if($level == 1){108 $item->addClass('dropdown submenu');109 $item->sub->addClass('list-unstyled dropdown_nav');110 $link->after('<span class="icon"><i class="arrow_carrot-down"></i></span>');111 // $link->addClass('dropdown-toggle');112 }113 }114 115 });116 return $menu;117 }118}119if(!function_exists('dockly_menu_sidebar')){120 function dockly_menu_sidebar($id = null, $attrs = [], $options = [], $action = null){121 $menu = Helper::getCustomMenu($id?$id:'docsleft', 4, $attrs, $options, $action);122 123 124 $menu->addAction(function($item, $link){125 126 $level = $item->getSonLevel();127 $SubItems = ($hasSub = $item->hasSubMenu()) ? $item->sub->count() : 0;128 if($item->isActive()){129 $item->addClass('active');130 }131 if($item->level < 1){132 $item->addClass('nav-item');133 $link->addClass('nav-link');134 }else{135 $item->removeClass('nav-item');136 $link->removeClass('nav-link');137 }138 if($hasSub){139 if($level == 1){140 $item->addClass('dropdown submenu');141 $item->sub->addClass('list-unstyled dropdown_nav');142 $link->after('<span class="icon"><i class="arrow_carrot-down"></i></span>');143 // $link->addClass('dropdown-toggle');144 }145 }146 147 });148 return $menu;149 }150}151if(!function_exists('set_docly_bookmark')){152 /**153 * thêm dấu trang154 */155 function set_docly_bookmark($str = null)156 {157 $data = [];158 if(is_string($str)){159 $lines = explode("\n", $str);160 if(count($lines)){161 foreach ($lines as $line) {162 $parts = explode(';', $line);163 if(count($parts)){164 foreach ($parts as $part) {165 if($p = trim($part)){166 if(count($keyVal = explode(':', $p)) >= 2){167 if(strlen($key = array_shift($keyVal)) && strlen($val = implode(':', $keyVal))){168 $data[$key] = $val;169 }170 }171 }172 }173 }174 }175 }176 }177 if($data){178 set_web_data('docly_bookmark', $data);179 }180 }181}182if(!function_exists('get_docly_bookmark')){183 /**184 * thêm dấu trang185 */186 function get_docly_bookmark()187 {188 return get_web_data('docly_bookmark');189 }190}191if(!function_exists('get_docly_dynamic_settings')){192 /**193 * thêm dấu trang194 */195 function get_docly_dynamic_settings($id = null)196 {197 $data = null;198 if($html = get_web_data('__html__')){199 if($post_settings = $html->post_settings){200 if($components = $post_settings->components->getComponents()){201 foreach ($components as $comp) {202 if($comp->data->dynamic_id == $id){203 $data = $comp->data;204 }205 }206 }207 }208 }209 return $data;210 }211}212if(!function_exists('docly_section_attrs')){213 function docly_section_attrs($section, $default = []){214 $tag = html('div', null, $default);215 $style = $tag->style;216 if($style) {217 if(is_string($style)){218 $style .= ';';219 }220 }221 if($section->class_name){222 $tag->addClass($section->class_name);223 }224 225 if($section->bg_default_color && $section->bg_default_color != 'none'){226 $tag->addClass('bg-'.$section->bg_default_color);227 }228 if($section->bg_color){229 $style .= 'background-color: '.$section->bg_color;230 }231 if($section->bg_image){232 $style .= 'background-image: url('.$section->bg_image .');';233 $tag->addClass('has-bg-image');234 if($section->bg_position){235 $tag->addClass('bg-'.$section->bg_position);236 }237 if($section->bg_half){238 $tag->addClass('half-bg-light');239 }240 }241 if($section->advance && is_array($section->advance)){242 $tag->addClass(implode(' ', $section->advance));243 }244 $tag->style = $style;245 return $tag->attrsToStr();246 }247}248if(!function_exists('docly_attrs')){249 function docly_attrs($section, $default = []){250 $tag = html('div', null, $default);251 $style = $tag->style;252 if($style) {253 if(is_string($style)){254 $style .= ';';255 }256 }257 if($section->class_name){258 $tag->addClass($section->class_name);259 }260 261 if($section->bg_default_color && $section->bg_default_color != 'none'){262 $tag->addClass('bg-'.$section->bg_default_color);263 }264 if($section->bg_color){265 $style .= 'background-color: '.$section->bg_color;266 }267 if($section->bg_image && $section->use_bg_image){268 $style .= 'background-image: url('.$section->bg_image .');';269 $tag->addClass('has-bg-image');270 if($section->bg_position){271 $tag->addClass('bg-'.$section->bg_position);272 }273 if($section->bg_half){274 $tag->addClass('half-bg-light');275 }276 }277 if($section->advance && is_array($section->advance)){278 $tag->addClass(implode(' ', $section->advance));279 }280 $tag->style = $style;281 return $tag->attrsToStr();282 }283}284if(!function_exists('docly_to_lines')){285 /**286 * thêm dấu trang287 */288 function docly_to_lines($str = null)289 {290 $data = [];291 if(is_string($str)){292 $lines = explode("\n", $str);...

Full Screen

Full Screen

Init.php

Source:Init.php Github

copy

Full Screen

...16 private static function initLayout()17 {18 Metronic::addAttr('body', 'id', 'kt_body');19 // Offcanvas directions20 Metronic::addClass('body', 'quick-panel-right');21 Metronic::addClass('body', 'demo-panel-right');22 Metronic::addClass('body', 'offcanvas-right');23 }24 private static function initPageLoader()25 {26 if (!empty(config('layout.page-loader.type'))) {27 Metronic::addClass('body', 'page-loading-enabled');28 Metronic::addClass('body', 'page-loading');29 }30 }31 private static function initHeader()32 {33 if (config('layout.header.self.fixed.desktop')) {34 Metronic::addClass('body', 'header-fixed');35 Metronic::addClass('header', 'header-fixed');36 } else {37 Metronic::addClass('body', 'header-static');38 }39 if (config('layout.header.self.fixed.mobile')) {40 Metronic::addClass('body', 'header-mobile-fixed');41 Metronic::addClass('header-mobile', 'header-mobile-fixed');42 }43 // Menu44 if (config('layout.header.menu.self.display')) {45 Metronic::addClass('header_menu', 'header-menu-layout-' . config('layout.header.menu.self.layout'));46 if (config('layout.header.menu.self.root-arrow')) {47 Metronic::addClass('header_menu', 'header-menu-root-arrow');48 }49 }50 if (config('layout.header.self.width') === 'fluid') {51 Metronic::addClass('header-container', 'container-fluid');52 } else {53 Metronic::addClass('header-container', 'container');54 }55 }56 private static function initSubheader()57 {58 if (config('layout.subheader.display')) {59 Metronic::addClass('body', 'subheader-enabled');60 } else {61 return;62 }63 $subheader_style = config('layout.subheader.style');64 $subheader_fixed = config('layout.subheader.fixed');65 // Fixed content head66 if (config('layout.subheader.fixed') && config('layout.header.self.fixed.desktop')) {67 Metronic::addClass('body', 'subheader-fixed');68 $subheader_style = 'solid';69 } else {70 $subheader_fixed = false;71 }72 if ($subheader_style) {73 Metronic::addClass('subheader', 'subheader-'.$subheader_style);74 }75 if (config('layout.subheader.width') == 'fluid') {76 Metronic::addClass('subheader-container', 'container-fluid');77 } else {78 Metronic::addClass('subheader-container', 'container');79 }80 if (config('layout.subheader.clear')) {81 Metronic::addClass('subheader', 'subheader-clear');82 }83 }84 private static function initContent()85 {86 if (config('layout.content.fit-top')) {87 Metronic::addClass('content', 'pt-0');88 }89 if (config('layout.content.fit-bottom')) {90 Metronic::addClass('content', 'pt-0');91 }92 if (config('layout.content.width') == 'fluid') {93 Metronic::addClass('content-container', 'container-fluid');94 } else {95 Metronic::addClass('content-container', 'container');96 }97 }98 private static function initAside()99 {100 if (config('layout.aside.self.display') != true) {101 return;102 }103 // Enable Aside104 Metronic::addClass('body', 'aside-enabled');105 // Fixed Aside106 if (config('layout.aside.self.fixed')) {107 Metronic::addClass('body', 'aside-fixed');108 Metronic::addClass('aside', 'aside-fixed');109 } else {110 Metronic::addClass('body', 'aside-static');111 }112 // Check Aside113 if (config('layout.aside.self.display') != true) {114 return;115 }116 // Default fixed117 if (config('layout.aside.self.minimize.default')) {118 Metronic::addClass('body', 'aside-minimize');119 }120 // Menu121 // Dropdown Submenu122 if (config('layout.aside.menu.dropdown') == true) {123 Metronic::addClass('aside_menu', 'aside-menu-dropdown');124 Metronic::addAttr('aside_menu', 'data-menu-dropdown', '1');125 }126 // Scrollable Menu127 if (config('layout.aside.menu.dropdown') != true) {128 Metronic::addAttr('aside_menu', 'data-menu-scroll', "1");129 } else {130 Metronic::addAttr('aside_menu', 'data-menu-scroll', "0");131 }132 if (config('layout.aside.menu.submenu.dropdown.hover-timeout')) {133 Metronic::addAttr('aside_menu', 'data-menu-dropdown-timeout', config('layout.aside.menu.submenu.dropdown.hover-timeout'));134 }135 }136 private static function initFooter()137 {138 // Fixed header139 if (config('layout.footer.fixed') == true) {140 Metronic::addClass('body', 'footer-fixed');141 }142 if (config('layout.footer.width') == 'fluid') {143 Metronic::addClass('footer-container', 'container-fluid');144 } else {145 Metronic::addClass('footer-container', 'container');146 }147 }148}...

Full Screen

Full Screen

addClass

Using AI Code Generation

copy

Full Screen

1$test = new \mageekguy\atoum\test();2$test->addClass('myClass');3$test->run();4$test = new \mageekguy\atoum\test();5$test->addClass('myClass');6$test->run();7$test = new \mageekguy\atoum\test();8$test->addClass('myClass');9$test->run();10$test = new \mageekguy\atoum\test();11$test->addClass('myClass');12$test->run();13$test = new \mageekguy\atoum\test();14$test->addClass('myClass');15$test->run();16$test = new \mageekguy\atoum\test();17$test->addClass('myClass');18$test->run();19$test = new \mageekguy\atoum\test();20$test->addClass('myClass');21$test->run();22$test = new \mageekguy\atoum\test();23$test->addClass('myClass');24$test->run();25$test = new \mageekguy\atoum\test();26$test->addClass('myClass');27$test->run();28$test = new \mageekguy\atoum\test();29$test->addClass('myClass');30$test->run();31$test = new \mageekguy\atoum\test();

Full Screen

Full Screen

addClass

Using AI Code Generation

copy

Full Screen

1require_once 'atoum.php';2$atoum = new Atoum();3$atoum->addTest('test1.php');4$atoum->addTest('test2.php');5$atoum->run();6require_once 'atoum.php';7$atoum = new Atoum();8$atoum->addMethod('test1');9$atoum->run();10require_once 'atoum.php';11$atoum = new Atoum();12$atoum->addMethod('test2');13$atoum->run();14require_once 'atoum.php';15$atoum = new Atoum();16$atoum->addMethod('test3');17$atoum->run();18require_once 'atoum.php';19$atoum = new Atoum();20$atoum->addMethod('test4');21$atoum->run();22require_once 'atoum.php';23$atoum = new Atoum();24$atoum->addMethod('test5');25$atoum->run();26require_once 'atoum.php';27$atoum = new Atoum();28$atoum->addMethod('test6');29$atoum->run();30require_once 'atoum.php';31$atoum = new Atoum();32$atoum->addMethod('test7');33$atoum->run();34require_once 'atoum.php';35$atoum = new Atoum();36$atoum->addMethod('test8');37$atoum->run();38require_once 'atoum.php';39$atoum = new Atoum();40$atoum->addMethod('test9');41$atoum->run();42require_once 'atoum.php';43$atoum = new Atoum();44$atoum->addMethod('test10');45$atoum->run();46require_once 'atoum.php';

Full Screen

Full Screen

addClass

Using AI Code Generation

copy

Full Screen

1$add = new atoum\scripts\runner\addclass();2$add->run(array('class' => 'atoum\scripts\runner\addclass'));3$remove = new atoum\scripts\runner\removeclass();4$remove->run(array('class' => 'atoum\scripts\runner\removeclass'));5$add = new atoum\scripts\runner\addclass();6$add->run(array('class' => 'atoum\scripts\runner\addclass'));7$remove = new atoum\scripts\runner\removeclass();8$remove->run(array('class' => 'atoum\scripts\runner\removeclass'));9$add = new atoum\scripts\runner\addclass();10$add->run(array('class' => 'atoum\scripts\runner\addclass'));11$remove = new atoum\scripts\runner\removeclass();12$remove->run(array('class' => 'atoum\scripts\runner\removeclass'));13$add = new atoum\scripts\runner\addclass();14$add->run(array('class' => 'atoum\scripts\runner\addclass'));15$remove = new atoum\scripts\runner\removeclass();16$remove->run(array('class' => 'atoum\scripts\runner\removeclass'));17$add = new atoum\scripts\runner\addclass();18$add->run(array('class' => 'atoum\scripts\runner\addclass'));19$remove = new atoum\scripts\runner\removeclass();20$remove->run(array('class' => 'atoum\scripts\runner\removeclass'));

Full Screen

Full Screen

addClass

Using AI Code Generation

copy

Full Screen

1$add = new addClass();2$add->add(1,2);3echo $add->getTotal();4require_once '1.php';5$testClass = new testClass('add');6$testClass->testAddition = function() {7 ->if($add = new addClass())8 ->integer($add->add(1,2))9 ->isEqualTo(3)10 ;11};12$testClass->run();

Full Screen

Full Screen

Automation Testing Tutorials

Learn to execute automation testing from scratch with LambdaTest Learning Hub. Right from setting up the prerequisites to run your first automation test, to following best practices and diving deeper into advanced test scenarios. LambdaTest Learning Hubs compile a list of step-by-step guides to help you be proficient with different test automation frameworks i.e. Selenium, Cypress, TestNG etc.

LambdaTest Learning Hubs:

YouTube

You could also refer to video tutorials over LambdaTest YouTube channel to get step by step demonstration from industry experts.

Run Atoum automation tests on LambdaTest cloud grid

Perform automation testing on 3000+ real desktop and mobile devices online.

Run Selenium Automation Tests on LambdaTest Cloud Grid

Trigger Selenium automation tests on a cloud-based Grid of 3000+ real browsers and operating systems.

Test now for Free

Try LambdaTest Now !!

Get 100 minutes of automation test minutes FREE!!

Next-Gen App & Browser Testing Cloud

Was this article helpful?

Helpful

NotHelpful