|
Cheetah
|
Go to the source code of this file.
Functions | |
| secureCheckWidgetName ($sWidget) | |
| getError ($sError) | |
| checkPermissions ($sFileName) | |
| createDataBase ($sWidget) | |
| recompileIntegrator ($sWidget) | |
| refreshExtraFile ($sWidget, $sCase, $bReset=false, $sDefaultFile="", $aEnabledFiles=array()) | |
| createMainFile ($sWidget) | |
| getFileContents ($sWidget, $sFile, $bArray=false) | |
| getFileExtension ($sWidget, $sFolder) | |
| smartReadFile ($sPath, $sFilename='', $sMimeType='application/octet-stream', $iCacheAge=0, $sCachePrivacy='public') | |
| checkPermissions | ( | $sFileName | ) |
------------— Installation Functions ------------— Checks permissions of files and directories.
| sFileName | - file's name. |
Definition at line 34 of file functions.inc.php.
| createDataBase | ( | $sWidget | ) |
Execute MySQL queries for specified widget.
| sWidget | - the name of the widget. |
Definition at line 65 of file functions.inc.php.
| createMainFile | ( | $sWidget | ) |
creates widget's main config file
| sWidget | - the name of the widget. |
Definition at line 224 of file functions.inc.php.
| getError | ( | $sError | ) |
get error
| sError | - error template |
| ... | - variable amount of incoming parameters with information to be used in the process of parsing. |
Definition at line 18 of file functions.inc.php.
| getFileContents | ( | $sWidget, | |
| $sFile, | |||
$bArray = false |
|||
| ) |
gets file contents
| sWidget | - the name of the widget. |
| sCase | - skins/langs |
Definition at line 264 of file functions.inc.php.
| getFileExtension | ( | $sWidget, | |
| $sFolder | |||
| ) |
gets file extension by given widget name and folder
| sWidget | - the name of the widget. |
| sFolder |
Definition at line 286 of file functions.inc.php.
| recompileIntegrator | ( | $sWidget | ) |
Recompile global/js/integration.js file - (re)define given widget
| sWidget | - the name of the widget. |
Definition at line 98 of file functions.inc.php.
| refreshExtraFile | ( | $sWidget, | |
| $sCase, | |||
$bReset = false, |
|||
$sDefaultFile = "", |
|||
$aEnabledFiles = array() |
|||
| ) |
refresh extra file (skins.xml/langs.xml)
| sWidget | - the name of the widget. |
| sCase | - skins/langs |
Definition at line 172 of file functions.inc.php.
| secureCheckWidgetName | ( | $sWidget | ) |
This work, "Cheetah - https://www.cheetahwsb.com", is a derivative of "Dolphin Pro V7.4.2" by BoonEx Pty Limited - https://www.boonex.com/, used under CC-BY. "Cheetah" is licensed under CC-BY by Dean J. Bassett Jr. CC-BY License - http://creativecommons.org/licenses/by/3.0/
Definition at line 8 of file functions.inc.php.
| smartReadFile | ( | $sPath, | |
$sFilename = '', |
|||
$sMimeType = 'application/octet-stream', |
|||
$iCacheAge = 0, |
|||
$sCachePrivacy = 'public' |
|||
| ) |
Definition at line 301 of file functions.inc.php.