#include "/include/extension.php"
Public Member Functions | |
| getSystemConfig () | |
| get configure about the core | |
| _initDatabaseConnection () | |
| Init connection to a database. | |
| _loadLanguage ($language_name) | |
| load a language file | |
| _initHtml ($template_path, $other_param= '') | |
| init HTML handler | |
| loadConfigForExtension ($extension_name) | |
| Load configure about a extension. | |
| loadSettingForExtension ($extension_name) | |
| Load setting about a extension from a configure file. | |
| checkUser ($user_level) | |
| Detect whether a user could use this function. | |
| _walkDir ($dir_path, $only_dir=TRUE) | |
| traversal a directory | |
| setModuleName ($module_name) | |
| Set module name for ACL driver. | |
| _showError ($errors="", $return_url="") | |
| Show error messages. | |
| initRequired ($config_file, $plugin_name, $plugin_language) | |
| A group of codes required during initalizing. | |
| heavyerInit () | |
| More heavy for initalizing. | |
| _formatDirName ($dir_name) | |
| Format name of a directory. | |
| _getVariables () | |
| Get all variables, included COOKIE, SESSION, POST and GET data. | |
| _addTopMenu ($menu_text, $menu_url= '', $selected=FALSE) | |
| Add a item into top menu bar. | |
| _getStatInfo () | |
| Get stat information about this system. | |
| _getSorts () | |
| Get a list of all sorts. | |
| _getLastestArticles ($num, $field_names= '*') | |
| Get last x articles. | |
| _getLatestRecords ($table_name, $num=0, $order_fields="", $conditions="", $fields_list="*", $offset=0, $return_only_first=FALSE) | |
| Get last x records from a select table. | |
| _getCalendar ($year, $month) | |
| Calendar. | |
| _getPigeonhole ($year) | |
| Get a list of archives' date. | |
| _getBlogDate ($start_time, $end_time) | |
| Get a list of articles in a period of time. | |
| _countBlogsByDate ($blog_dates, $start_time, $end_time) | |
| Get number of articles in a period of time. | |
| _isBlogHang () | |
| Detect whether the blog is hang. | |
Public Attributes | |
| $_errors = array() | |
| Error message-bus. | |
| $_html = 0 | |
| HTML handler. | |
| $_dbop = 0 | |
| Database handler. | |
| $_config = array() | |
| All configure. | |
| $_input = array() | |
| All input data. | |
|
||||||||||||||||
|
Add a item into top menu bar.
|
|
||||||||||||||||
|
Get number of articles in a period of time.
|
|
|
Format name of a directory.
|
|
||||||||||||
|
Get a list of articles in a period of time.
|
|
||||||||||||
|
Calendar.
|
|
||||||||||||
|
Get last x articles.
|
|
||||||||||||||||||||||||||||||||
|
Get last x records from a select table.
|
|
|
Get a list of archives' date.
|
|
|
Get a list of all sorts.
|
|
|
Get all variables, included COOKIE, SESSION, POST and GET data.
|
|
||||||||||||
|
init HTML handler
|
|
|
Detect whether the blog is hang.
|
|
|
load a language file
|
|
||||||||||||
|
Show error messages.
|
|
||||||||||||
|
traversal a directory
|
|
|
Detect whether a user could use this function.
|
|
||||||||||||||||
|
A group of codes required during initalizing.
|
|
|
Load configure about a extension.
|
|
|
Load setting about a extension from a configure file.
|
|
|
Set module name for ACL driver.
|
|
|
All configure.
|
|
|
All input data.
|