|
XOOPS RMCommon Utilities
2.1.8.91RC
|

Public Member Functions | |
| __construct ($id=null) | |
| delete () | |
| get_info ($name) | |
| id () | |
| load_from_dir ($dir) | |
| on_activate ($q) | |
| on_install () | |
| on_uninstall () | |
| on_update () | |
| options () | |
| plugin ($dir= '') | |
| save () | |
Public Member Functions inherited from RMObject | |
| _loadFilters () | |
| assignVar ($key, $value) | |
| assignVars ($var_arr) | |
| cleanVars () | |
| errors ($html=true) | |
| getErrors () | |
| getHtmlErrors () | |
| getLogger ($ashtml=true) | |
| getValues ($keys=null, $format= 's', $maxDepth=1) | |
| getVar ($key, $format= 's') | |
| getVars ($formated=false, $format= 's') | |
| id () | |
| initVar ($key, $data_type, $value=null, $required=false, $maxlength=null, $options= '') | |
| isDirty () | |
| isNew () | |
| registerFilter ($filtername) | |
| rmClone () | |
| setDirty () | |
| setErrors ($err_str) | |
| setFormVars ($var_arr=null, $pref='xo_', $not_gpc=false) | |
| setNew () | |
| setVar ($key, $value, $not_gpc=false) | |
| setVarLen ($var, $len=null) | |
| setVarRequired ($var, $required) | |
| setVars ($var_arr, $not_gpc=false) | |
| setVarType ($var, $type) | |
| unsetDirty () | |
| unsetNew () | |
Private Member Functions | |
| insert_configs () | |
Private Attributes | |
| $dir = '' | |
| $plugin | |
| $settings = array() | |
Additional Inherited Members | |
Public Attributes inherited from RMObject | |
| $cleanVars = array() | |
Protected Member Functions inherited from RMObject | |
| addError ($text) | |
| clear_vars () | |
| clearLogger () | |
| deleteFromTable () | |
| getColumns () | |
| initVarsFromTable () | |
| loadValues ($id) | |
| loadValuesArray ($values) | |
| loadValuesFiltered ($filter='') | |
| logger ($event, $style='') | |
| saveToTable () | |
| updateTable () | |
| varIsset ($var) | |
Protected Attributes inherited from RMObject | |
| $_dbtable = '' | |
| $_log = array() | |
| $db = null | |
| $primary = 'id' | |
| $vars = array() | |
Class to manage plugins objects
Definition at line 15 of file plugin.php.
| RMPlugin::__construct | ( | $id = null | ) |
Definition at line 24 of file plugin.php.
References $id, RMObject\getVar(), RMObject\initVarsFromTable(), load_from_dir(), RMObject\loadValues(), RMObject\setNew(), and RMObject\unsetNew().

| RMPlugin::delete | ( | ) |
Definition at line 183 of file plugin.php.
References RMObject\$db, $dir, $sql, RMObject\addError(), RMObject\deleteFromTable(), and plugin().

| RMPlugin::get_info | ( | $name | ) |
Definition at line 100 of file plugin.php.
References plugin().

| RMPlugin::id | ( | ) |
Definition at line 80 of file plugin.php.
References RMObject\getVar().

|
private |
Definition at line 124 of file plugin.php.
References RMObject\$db, $dir, $sql, RMObject\addError(), RMFunctions\get(), and plugin().
Referenced by save().


| RMPlugin::load_from_dir | ( | $dir | ) |
This method must be called before to access the plugin methods
| string | Directory name |
Definition at line 57 of file plugin.php.
References $class, $dir, $path, plugin(), RMCPATH, and RMObject\setVar().
Referenced by __construct().


| RMPlugin::on_activate | ( | $q | ) |
Definition at line 116 of file plugin.php.
References plugin().

| RMPlugin::on_install | ( | ) |
Definition at line 104 of file plugin.php.
References plugin().

| RMPlugin::on_uninstall | ( | ) |
Definition at line 112 of file plugin.php.
References plugin().

| RMPlugin::on_update | ( | ) |
Definition at line 108 of file plugin.php.
References plugin().

| RMPlugin::options | ( | ) |
Definition at line 120 of file plugin.php.
References plugin().

| RMPlugin::plugin | ( | $dir = '' | ) |
Definition at line 84 of file plugin.php.
References $class, $dir, $plugin, RMObject\getVar(), and RMCPATH.
Referenced by delete(), get_info(), insert_configs(), load_from_dir(), on_activate(), on_install(), on_uninstall(), on_update(), and options().


| RMPlugin::save | ( | ) |
Definition at line 172 of file plugin.php.
References insert_configs(), RMObject\isNew(), RMObject\saveToTable(), and RMObject\updateTable().

|
private |
Definition at line 17 of file plugin.php.
Referenced by delete(), insert_configs(), load_from_dir(), and plugin().
|
private |
|
private |
Definition at line 18 of file plugin.php.