Scriptlog Docs

Scriptlog Documentation

Code reference for the Scriptlog codebase

User Tools

Site Tools


scriptlog:lib:dao:plugindao

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
scriptlog:lib:dao:plugindao [2026/09/26 09:09] – admin adminscriptlog:lib:dao:plugindao [2026/09/26 09:34] (current) – admin admin
Line 12: Line 12:
 ======= Docblock Metadata ======= ======= Docblock Metadata =======
  
-  ^ Tag ^ Value ^ +^ Tag ^ Value ^ 
-  | ''@category'' | Dao Class | +| ''@category'' | Dao Class | 
-  | ''@author'' | M.Noermoehammad | +| ''@author'' | M.Noermoehammad | 
-  | ''@license'' | MIT | +| ''@license'' | MIT | 
-  | ''@version'' | 1.0 | +| ''@version'' | 1.0 | 
-  | ''@since'' | Since Release 1.0 |+| ''@since'' | Since Release 1.0 |
  
 ======= Inheritance ======= ======= Inheritance =======
  
-  ^ Relation ^ Type ^ Meaning ^ +^ Relation ^ Type ^ Meaning ^ 
-  | extends | [[scriptlog:lib:core:dao|''Dao'']] | parent class/interface |+| extends | [[scriptlog:lib:core:dao|''Dao'']] | parent class/interface |
  
 ======= Constants (0) ======= ======= Constants (0) =======
Line 28: Line 28:
 //None.// //None.//
  
-======= Properties (0) =======+======= Properties (2) =======
  
-//None declared.//+^ Visibility ^ Type ^ Name ^ Default ^ Line ^ 
 +| ''private'' | ''(untyped)'' | ''$accessLevel'' |  | 23 | 
 +| ''private'' | ''(untyped)'' | ''$selected'' |  | 25 |
  
 ======= Methods (16) ======= ======= Methods (16) =======
  
-  ^ Visibility ^ Method ^ Summary ^ Line ^ +^ Visibility ^ Method ^ Summary ^ Line ^ 
-  | public | ''__construct()'' | (undocumented) | 27 | +| public | ''__construct()'' | (undocumented) | 27 | 
-  | public | ''getPlugins()'' | Get list of plugins | 41 | +| public | ''getPlugins()'' | Get list of plugins | 41 | 
-  | public | ''getPlugin()'' | Get plugin | 64 | +| public | ''getPlugin()'' | Get plugin | 64 | 
-  | public | ''insertPlugin()'' | Insert new plugin | 85 | +| public | ''insertPlugin()'' | Insert new plugin | 85 | 
-  | public | ''updatePlugin()'' | Update plugin | 122 | +| public | ''updatePlugin()'' | Update plugin | 122 | 
-  | public | ''activatePlugin()'' | activatePlugin | 144 | +| public | ''activatePlugin()'' | activatePlugin | 144 | 
-  | public | ''deactivatePlugin()'' | deactivatePlugin | 157 | +| public | ''deactivatePlugin()'' | deactivatePlugin | 157 | 
-  | public | ''deletePlugin()'' | Delete plugin | 169 | +| public | ''deletePlugin()'' | Delete plugin | 169 | 
-  | public | ''checkPluginId()'' | Check plugin Id | 183 | +| public | ''checkPluginId()'' | Check plugin Id | 183 | 
-  | public | ''isPluginActived()'' | isPluginActived | 206 | +| public | ''isPluginActived()'' | isPluginActived | 206 | 
-  | public | ''getPluginDirectory()'' | getPluginDirectory | 230 | +| public | ''getPluginDirectory()'' | getPluginDirectory | 230 | 
-  | public | ''setMenuPlugin()'' | Set menu plugin | 245 | +| public | ''setMenuPlugin()'' | Set menu plugin | 245 | 
-  | public | ''dropDownPluginLevel()'' | Drop down plugin level | 289 | +| public | ''dropDownPluginLevel()'' | Drop down plugin level | 289 | 
-  | public | ''totalPluginRecords()'' | Total plugins records | 309 | +| public | ''totalPluginRecords()'' | Total plugins records | 309 | 
-  | public | ''findPluginsEnabled()'' | SetPlugins | 322 | +| public | ''findPluginsEnabled()'' | SetPlugins | 322 | 
-  | public | ''pluginExists()'' | pluginExists | 345 |+| public | ''pluginExists()'' | pluginExists | 345 |
  
  
Line 74: Line 76:
 Get list of plugins Get list of plugins
  
-  ^ Parameter ^ Type ^ Default ^ Description ^ +^  Parameter ^  Type ^  Default ^  Description ^ 
-  | ''$orderBy'' | ''(untyped)'' | '''ID''' | //none// |+|  ''$orderBy'' |  ''(untyped)'' |  '''ID''' |  //none// |
  
 **Returns:** ''(none declared)'' — boolean|array|object **Returns:** ''(none declared)'' — boolean|array|object
Line 92: Line 94:
 get single value of plugin get single value of plugin
  
-  ^ Parameter ^ Type ^ Default ^ Description ^ +^  Parameter ^  Type ^  Default ^  Description ^ 
-  | ''$id'' | ''(untyped)'' | //required// | //none// | +|  ''$id'' |  ''(untyped)'' |  //required// |  //none// | 
-  | ''$sanitize'' | ''(untyped)'' | //required// | //none// |+|  ''$sanitize'' |  ''(untyped)'' |  //required// |  //none// |
  
 **Returns:** ''(none declared)'' — boolean|array|object **Returns:** ''(none declared)'' — boolean|array|object
Line 109: Line 111:
 Insert new plugin Insert new plugin
  
-  ^ Parameter ^ Type ^ Default ^ Description ^ +^  Parameter ^  Type ^  Default ^  Description ^ 
-  | ''$bind'' | ''(untyped)'' | //required// | //none// |+|  ''$bind'' |  ''(untyped)'' |  //required// |  //none// |
  
 **Returns:** ''(none declared)'' **Returns:** ''(none declared)''
Line 125: Line 127:
 Update plugin Update plugin
  
-  ^ Parameter ^ Type ^ Default ^ Description ^ +^  Parameter ^  Type ^  Default ^  Description ^ 
-  | ''$sanitize'' | ''(untyped)'' | //required// | //none// | +|  ''$sanitize'' |  ''(untyped)'' |  //required// |  //none// | 
-  | ''$bind'' | ''(untyped)'' | //required// | //none// | +|  ''$bind'' |  ''(untyped)'' |  //required// |  //none// | 
-  | ''$id'' | ''(untyped)'' | //required// | //none// |+|  ''$id'' |  ''(untyped)'' |  //required// |  //none// |
  
 **Returns:** ''(none declared)'' **Returns:** ''(none declared)''
Line 145: Line 147:
 Enable plugin Enable plugin
  
-  ^ Parameter ^ Type ^ Default ^ Description ^ +^  Parameter ^  Type ^  Default ^  Description ^ 
-  | ''$id'' | ''(untyped)'' | //required// | //none// | +|  ''$id'' |  ''(untyped)'' |  //required// |  //none// | 
-  | ''$sanitize'' | ''(untyped)'' | //required// | //none// |+|  ''$sanitize'' |  ''(untyped)'' |  //required// |  //none// |
  
 **Returns:** ''(none declared)'' **Returns:** ''(none declared)''
Line 164: Line 166:
 Disable plugin Disable plugin
  
-  ^ Parameter ^ Type ^ Default ^ Description ^ +^  Parameter ^  Type ^  Default ^  Description ^ 
-  | ''$id'' | ''(untyped)'' | //required// | //none// | +|  ''$id'' |  ''(untyped)'' |  //required// |  //none// | 
-  | ''$sanitize'' | ''(untyped)'' | //required// | //none// |+|  ''$sanitize'' |  ''(untyped)'' |  //required// |  //none// |
  
 **Returns:** ''(none declared)'' **Returns:** ''(none declared)''
Line 181: Line 183:
 Delete plugin Delete plugin
  
-  ^ Parameter ^ Type ^ Default ^ Description ^ +^  Parameter ^  Type ^  Default ^  Description ^ 
-  | ''$id'' | ''(untyped)'' | //required// | //none// | +|  ''$id'' |  ''(untyped)'' |  //required// |  //none// | 
-  | ''$sanitize'' | ''(untyped)'' | //required// | //none// |+|  ''$sanitize'' |  ''(untyped)'' |  //required// |  //none// |
  
 **Returns:** ''(none declared)'' **Returns:** ''(none declared)''
Line 198: Line 200:
 Check plugin Id Check plugin Id
  
-  ^ Parameter ^ Type ^ Default ^ Description ^ +^  Parameter ^  Type ^  Default ^  Description ^ 
-  | ''$id'' | ''(untyped)'' | //required// | //none// | +|  ''$id'' |  ''(untyped)'' |  //required// |  //none// | 
-  | ''$sanitize'' | ''(untyped)'' | //required// | //none// |+|  ''$sanitize'' |  ''(untyped)'' |  //required// |  //none// |
  
 **Returns:** ''(none declared)'' — numeric **Returns:** ''(none declared)'' — numeric
Line 217: Line 219:
 checking whether plugin enabled or disabled checking whether plugin enabled or disabled
  
-  ^ Parameter ^ Type ^ Default ^ Description ^ +^  Parameter ^  Type ^  Default ^  Description ^ 
-  | ''$plugin_name'' | ''(untyped)'' | //required// | //none// |+|  ''$plugin_name'' |  ''(untyped)'' |  //required// |  //none// |
  
 **Returns:** ''(none declared)'' — boolean **Returns:** ''(none declared)'' — boolean
Line 235: Line 237:
 get plugin directory by name get plugin directory by name
  
-  ^ Parameter ^ Type ^ Default ^ Description ^ +^  Parameter ^  Type ^  Default ^  Description ^ 
-  | ''$plugin_name'' | ''(untyped)'' | //required// | //none// |+|  ''$plugin_name'' |  ''(untyped)'' |  //required// |  //none// |
  
 **Returns:** ''(none declared)'' — string|bool **Returns:** ''(none declared)'' — string|bool
Line 251: Line 253:
 Set menu plugin Set menu plugin
  
-  ^ Parameter ^ Type ^ Default ^ Description ^ +^  Parameter ^  Type ^  Default ^  Description ^ 
-  | ''$module'' | ''(untyped)'' | //required// | //none// | +|  ''$module'' |  ''(untyped)'' |  //required// |  //none// | 
-  | ''$user_level'' | ''(untyped)'' | //required// | //none// |+|  ''$user_level'' |  ''(untyped)'' |  //required// |  //none// |
  
 **Returns:** ''(none declared)'' — string **Returns:** ''(none declared)'' — string
Line 268: Line 270:
 Drop down plugin level Drop down plugin level
  
-  ^ Parameter ^ Type ^ Default ^ Description ^ +^  Parameter ^  Type ^  Default ^  Description ^ 
-  | ''$selected'' | ''(untyped)'' | '''''' | //none// |+|  ''$selected'' |  ''(untyped)'' |  '''''' |  //none// |
  
 **Returns:** ''(none declared)'' — string **Returns:** ''(none declared)'' — string
Line 284: Line 286:
 Total plugins records Total plugins records
  
-  ^ Parameter ^ Type ^ Default ^ Description ^ +^  Parameter ^  Type ^  Default ^  Description ^ 
-  | ''$data'' | ''array'' | ''[]'' | //none// |+|  ''$data'' |  ''array'' |  ''[]'' |  //none// |
  
 **Returns:** ''?int'' — numeric **Returns:** ''?int'' — numeric
Line 300: Line 302:
 SetPlugins SetPlugins
  
-  ^ Parameter ^ Type ^ Default ^ Description ^ +^  Parameter ^  Type ^  Default ^  Description ^ 
-  | ''$plugin_level'' | ''(untyped)'' | //required// | //none// |+|  ''$plugin_level'' |  ''(untyped)'' |  //required// |  //none// |
  
 **Returns:** ''(none declared)'' — boolean|array|object **Returns:** ''(none declared)'' — boolean|array|object
Line 318: Line 320:
 checking whether plugin names exists checking whether plugin names exists
  
-  ^ Parameter ^ Type ^ Default ^ Description ^ +^  Parameter ^  Type ^  Default ^  Description ^ 
-  | ''$plugin_name'' | ''(untyped)'' | //required// | //none// |+|  ''$plugin_name'' |  ''(untyped)'' |  //required// |  //none// |
  
 **Returns:** ''(none declared)'' — boolean **Returns:** ''(none declared)'' — boolean
Line 325: Line 327:
 ======= Imports ======= ======= Imports =======
  
-  ^ Alias ^ Fully-qualified name ^ +^ Alias ^ Fully-qualified name ^ 
-  | ''Dao'' | [[scriptlog:lib:core:dao|''Scriptlog\Core\Dao'']] |+| ''Dao'' | [[scriptlog:lib:core:dao|''Scriptlog\Core\Dao'']] |
  
  
scriptlog/lib/dao/plugindao.1790413760.txt.gz · Last modified: by admin