![]() |
PHPDevShell 3.1.3-Stable
PHP OOP RAD Development Framework
|
Public Member Functions | |
| runTemplate () | |
| addCssFileToHead ($cssRelativePath= '', $media='screen, projection') | |
| addJsFileToHead ($jsRelativePath= '') | |
| addToHead ($giveHead= '') | |
| addJsToHead ($js= '') | |
| addCSSToHead ($css= '') | |
| outputHead ($return=false) | |
| outputLanguage ($return=false) | |
| outputCharset ($return=false) | |
| outputTitle () | |
| outputName () | |
| outputSkin ($return= 'print') | |
| outputAbsoluteURL ($return= 'print') | |
| outputMetaKeywords ($return= 'print') | |
| outputMetaDescription ($return= 'print') | |
| modPrint ($moduleName) | |
| outputLogo () | |
| scriptLogo ($menu_link, $active_plugin, $alias=null, $is_parent=null) | |
| outputTime () | |
| outputLoginLink () | |
| outputRole () | |
| outputGroup () | |
| outputScriptIcon ($return=false) | |
| outputBreadcrumbs () | |
| outputMenu () | |
| outputScript () | |
| outputController () | |
| outputTextLogo () | |
| outputFooter () | |
| outputFooterJS () | |
| requestWidget ($menu_id_to_load, $element_id, $extend_url= '', $settings= '') | |
| requestAjax ($menu_id_to_load, $element_id, $extend_url= '', $settings= '') | |
| requestLightbox ($menu_id_to_load, $element_id, $extend_url= '', $settings= '') | |
| heading ($heading, $return= 'print') | |
| info ($information, $return= 'print') | |
| icon ($name, $title=false, $size=16, $class='icon', $type='.png', $return=true) | |
| warning ($warning, $return= 'print', $log= 'log') | |
| ok ($ok, $return= 'print', $log= 'log') | |
| error ($error, $return= 'print', $log= 'log') | |
| critical ($critical, $return= 'print', $log= 'log', $mail= 'mailadmin') | |
| notice ($notice, $return= 'print') | |
| busy ($busy, $return= 'print') | |
| message ($message, $return= 'print') | |
| note ($note, $return= 'print') | |
| scripthead ($scripthead, $return= 'print') | |
| tip ($text, $print=false) | |
| extendMenuLoop ($extended_menu_id) | |
| executeController () | |
| loadControllerFile ($menu_id, $include_model=false) | |
| loginFormHeading ($return=false) | |
| loginForm ($return=false) | |
| getTemplate () | |
| getTpl ($load_view=false, $plugin_override=false) | |
| debugInfo () | |
| htmlEntityDecode ($string_to_decode) | |
| getPiece ($name, $module=false) | |
| setPiece ($name, $data=null) | |
| outputNotifications () | |
Data Fields | |
| $HTML = '' | |
| $HOOK = '' | |
| $view | |
| $modifyHead = '' | |
| $modifyOutputTextLogo = false | |
| $modifyOutputLogo = false | |
| $modifyOutputTime = false | |
| $modifyOutputLoginLink = false | |
| $modifyOutputUser = false | |
| $modifyOutputRole = false | |
| $modifyOutputGroup = false | |
| $modifyOutputTitle = false | |
| $modifyOutputMenu = false | |
| $modifyOutputBreadcrumbs = false | |
| $modifyOutputFooter = false | |
| $modifyOutputController = false | |
| $controller | |
| $lightbox = false | |
| $stopScript | |
| $debugStr = false | |
| $global | |
| $skipLogin = false | |
| $module = array() | |
| $templateName | |
| $themeName | |
| $loginMessage | |
| $mod | |
Protected Member Functions | |
| startBuffering () | |
Protected Attributes | |
| $pieces | |
| $CDN | |
| addCssFileToHead | ( | $ | cssRelativePath = '', |
| $ | media = 'screen, |
||
| projection' | |||
| ) |
Will add any css path to the <head></head> tags of your document.
| string | $cssRelativePath |
| addCSSToHead | ( | $ | css = '' | ) |
Will add any css to the <head></head> tags of your document adding script tags.
| string | $css |
| addJsFileToHead | ( | $ | jsRelativePath = '' | ) |
Will add any js path to the <head></head> tags of your document.
| string | $jsRelativePath |
| addJsToHead | ( | $ | js = '' | ) |
Will add any js to the <head></head> tags of your document adding script tags.
| string | $js |
| addToHead | ( | $ | giveHead = '' | ) |
Will add any content to the <head></head> tags of your document.
| string | $extraHead |
| busy | ( | $ | busy, |
| $ | return = 'print' |
||
| ) |
This returns/prints a busy of the script being executed. Intended to be used by the developer.
| string | This is the message that will be displayed. |
| mixed | default is print, can be set true, print, return. |
| critical | ( | $ | critical, |
| $ | return = 'print', |
||
| $ | log = 'log', |
||
| $ | mail = 'mailadmin' |
||
| ) |
This returns/prints a critical message regarding the active script. Intended to be used by the developer.
| string | This is the message that will be displayed. |
| mixed | default is print, can be set true, print, return. |
| mixed | default is log, can be set true, print, return. |
| debugInfo | ( | ) |
Prints some debug info to the frontend.
| error | ( | $ | error, |
| $ | return = 'print', |
||
| $ | log = 'log' |
||
| ) |
This returns/prints a error message regarding the active script. Intended to be used by the developer where exceptions are caught.
| string | This is the message that will be displayed. |
| mixed | default is print, can be set true, print, return. |
| mixed | default is log, can be set true, print, return. |
| executeController | ( | ) |
Executes the controller.
| extendMenuLoop | ( | $ | extended_menu_id | ) |
This function support output_script by looking deeper into menu structure to find last linked menu item that is not linked to another.
| integer | $extended_menu_id |
| getPiece | ( | $ | name, |
| $ | module = false |
||
| ) |
returns a piece from the repository, optionnaly throught a module
| $name | string, the name of the piece to fetch |
| $module | string or boolean, (optionnal) the name of the module to use, true to use a module with the piece name, false not to use a module |
| getTemplate | ( | ) |
Get and return the supposed to run template.
| getTpl | ( | $ | load_view = false, |
| $ | plugin_override = false |
||
| ) |
Gets the correct location of a tpl file, will return full path, can be a view.tpl or view.tpl.php files.
| string | $load_view | |
| string | $plugin_override | If another plugin is to be used in the directory. |
| heading | ( | $ | heading, |
| $ | return = 'print' |
||
| ) |
This returns/prints a heading discription of the script being executed. Intended to be used by the developer.
| string | This is the message that will be displayed as the heading. |
| htmlEntityDecode | ( | $ | string_to_decode | ) |
Convert all HTML entities to their applicable characters.
| string | $string_to_decode |
| icon | ( | $ | name, |
| $ | title = false, |
||
| $ | size = 16, |
||
| $ | class = 'icon', |
||
| $ | type = '.png', |
||
| $ | return = true |
||
| ) |
This method will load given png icon from icon database,
| string | Icon name without extention. |
| Title | of given image. |
| int | The size folder to look within. |
| string | If an alternative class must be added to image. |
| string | File type. |
| boolean | Default is false, if set true, the heading will return instead of print. |
| info | ( | $ | information, |
| $ | return = 'print' |
||
| ) |
This returns/prints info of the script being executed. Intended to be used by the developer.
| string | This is the message that will be displayed as the info. |
| loadControllerFile | ( | $ | menu_id, |
| $ | include_model = false |
||
| ) |
Will attempt to load controller file from various locations.
| int |
| loginForm | ( | $ | return = false | ) |
Executes the login.
| loginFormHeading | ( | $ | return = false | ) |
Login heading messages.
| message | ( | $ | message, |
| $ | return = 'print' |
||
| ) |
This returns/prints a message of the script being executed. Intended to be used by the developer.
| string | This is the message that will be displayed. |
| mixed | default is print, can be set true, print, return. |
| modPrint | ( | $ | moduleName | ) |
Print a string via a module and returns the result
| string | $moduleName | the module to use |
| string | $string | the string to print (several strings can be provided) |
| note | ( | $ | note, |
| $ | return = 'print' |
||
| ) |
This returns/prints a note of the script being executed. Intended to be used by the developer.
| string | This is the message that will be displayed. |
| mixed | default is print, can be set true, print, return. |
| notice | ( | $ | notice, |
| $ | return = 'print' |
||
| ) |
This returns/prints a notice of the script being executed. Intended to be used by the developer.
| string | This is the message that will be displayed. |
| mixed | default is print, can be set true, print, return. |
| ok | ( | $ | ok, |
| $ | return = 'print', |
||
| $ | log = 'log' |
||
| ) |
This returns/prints a ok message regarding the active script. Intended to be used by the developer.
| string | This is the message that will be displayed. |
| mixed | default is print, can be set true, print, return. |
| mixed | default is log, can be set true, print, return. |
| outputAbsoluteURL | ( | $ | return = 'print' | ) |
This returns/prints the absolute url for inside theme usage.
| mixed | default is print, can be set true, print, return. |
| outputBreadcrumbs | ( | ) |
Returns "breadcrumbs" to the template system. Intended to be used by the engine.
| outputCharset | ( | $ | return = false | ) |
Outputs charset.
| outputController | ( | ) |
Returns "output script" to the template system. Intended to be used by the engine.
| outputFooter | ( | ) |
Returns the last footer string to the template system. Intended to be used by the engine.
| outputFooterJS | ( | ) |
Will add code from configuration to theme closing body tag.
| outputGroup | ( | ) |
Sets template group.
| outputHead | ( | $ | return = false | ) |
Changes head output.
| boolean | $return |
| outputLanguage | ( | $ | return = false | ) |
Outputs current language identifier being used.
| outputLoginLink | ( | ) |
Sets template login link.
| outputLogo | ( | ) |
Gets the desired logo and displays it. This method will try its best to deliver a logo, whatever the case.
| outputMenu | ( | ) |
Returns "menus" to the template system. Intended to be used by the engine.
| outputMetaDescription | ( | $ | return = 'print' | ) |
This returns/prints the meta description for inside theme usage.
| mixed | default is print, can be set true, print, return. |
| outputMetaKeywords | ( | $ | return = 'print' | ) |
This returns/prints the meta keywords for inside theme usage.
| mixed | default is print, can be set true, print, return. |
| outputName | ( | ) |
Outputs the active scripts title.
| outputNotifications | ( | ) |
Ability to call and display notifications pushed to the notification system.
| outputRole | ( | ) |
Sets template role.
| outputScript | ( | ) |
Returns "output script" to the template system. Intended to be used by the engine.
| outputScriptIcon | ( | $ | return = false | ) |
This returns/prints an image of the current script running.
| boolean | Default is false, if set true, the heading will return instead of print. |
| outputSkin | ( | $ | return = 'print' | ) |
This returns/prints the skin for inside theme usage.
| mixed | default is print, can be set true, print, return. |
| outputTextLogo | ( | ) |
Sets template system logo or name.
| outputTime | ( | ) |
Sets template time.
| outputTitle | ( | ) |
Outputs the active scripts title.
| requestAjax | ( | $ | menu_id_to_load, |
| $ | element_id, | ||
| $ | extend_url = '', |
||
| $ | settings = '' |
||
| ) |
This method is used to load ajax into a certain location of your page.
| requestLightbox | ( | $ | menu_id_to_load, |
| $ | element_id, | ||
| $ | extend_url = '', |
||
| $ | settings = '' |
||
| ) |
This method is used to load a lightbox page.
| requestWidget | ( | $ | menu_id_to_load, |
| $ | element_id, | ||
| $ | extend_url = '', |
||
| $ | settings = '' |
||
| ) |
This method is used to load a widget at into a certain location of your page.
| runTemplate | ( | ) |
Run default, custom or no template.
| scripthead | ( | $ | scripthead, |
| $ | return = 'print' |
||
| ) |
This returns/prints a heading of the script being executed. Intended to be used by the developer.
| string | This is the message that will be displayed. |
| mixed | default is print, can be set true, print, return. |
| scriptLogo | ( | $ | menu_link, |
| $ | active_plugin, | ||
| $ | alias = null, |
||
| $ | is_parent = null |
||
| ) |
Acquire script identification image or logo.
| string | $menu_link | |
| string | $active_plugin | |
| string | $alias | |
| int | $is_parent |
| setPiece | ( | $ | name, |
| $ | data = null |
||
| ) |
insert a piece into the repository
| $name | string, the name of the piece to add |
| $data | string, the raw content of the piece |
| startBuffering | ( | ) | [protected] |
OB Start
| tip | ( | $ | text, |
| $ | print = false |
||
| ) |
This creates an the [i] when over with mouse a popup with a message appears, this can be placed anywhere. Intended to be used by the developer.
| string | The message to diplay when mouse goes over the [i]. |
| boolean | Sets to print out confirm link instead of return. |
| warning | ( | $ | warning, |
| $ | return = 'print', |
||
| $ | log = 'log' |
||
| ) |
This returns/prints a warning message regarding the active script. Intended to be used by the developer.
| string | This is the message that will be displayed. |
| mixed | default is print, can be set true, print, return. |
| mixed | default is log, can be set true, print, return. |
$CDN [protected] |
| $controller |
| $debugStr = false |
| $global |
| $HOOK = '' |
| $HTML = '' |
| $lightbox = false |
| $loginMessage |
| $mod |
| $modifyHead = '' |
| $modifyOutputBreadcrumbs = false |
| $modifyOutputController = false |
| $modifyOutputFooter = false |
| $modifyOutputGroup = false |
| $modifyOutputLoginLink = false |
| $modifyOutputLogo = false |
| $modifyOutputMenu = false |
| $modifyOutputRole = false |
| $modifyOutputTextLogo = false |
| $modifyOutputTime = false |
| $modifyOutputTitle = false |
| $modifyOutputUser = false |
| $module = array() |
$pieces [protected] |
| $skipLogin = false |
| $stopScript |
| $templateName |
| $themeName |
| $view |