![]() |
||||||||||||||||||||||||||||||||||
Procedural File: application.php.incSource Location: /sys/application.php.incPage Details:DisableExtension [line 105]
Have an extension disabled in the client This function adds a rule to the Extension Policy and must be called before the application starts, so either in the global scope or in the authorizeLogin or getApplication functions. Parameters
[ Top ] LoadClass [line 55]
This global function loads class libraries, PHP as well as JavaScript. Calls to this function need to be in the global scope as well, allowing all classes to be loaded before the application gets initialized. Class names need to be entered without extensions, so when loading class 'controls' consisting of 'controls.php.inc' and 'controls.js', just enter 'controls'. The type parameter defines the directory to look in relative to the SiteFusion installation directory. This defaults to 'class'. All built-in classes are loaded by default. To disable this, define a constant named SF_AUTOLOAD_CLASSES to FALSE: define( 'SF_AUTOLOAD_CLASSES', FALSE ); To load a custom class from an application directory, for example 'mycontrols' in application 'myapp', use: LoadClass('mycontrols','app/myapp') Parameters
[ Top ] RequireExtension [line 83]
Require an extension to be activated in the client This function adds a rule to the Extension Policy and must be called before the application starts, so either in the global scope or in the authorizeLogin or getApplication functions. Parameters
[ Top ] Documentation generated on Mon, 07 Apr 2014 00:50:45 +0200 by phpDocumentor 1.4.3 |
||||||||||||||||||||||||||||||||||
All content is © 2009 by FrontDoor Media Group, is available under the Creative Commons Attribution-Share Alike 2.5 License and is maintained by the SiteFusion.org staff |