XCL Web Application Platform 2.5.0
The XoopsCube Legacy Project
Loading...
Searching...
No Matches
Legacy_Utils Class Reference

Static Public Member Functions

static checkSystemModules ()
 
static & createModule (XoopsModule $module, bool $loadConfig=true)
 
static & createBlockProcedure (&$block)
 
static raiseUserControlEvent ()
 
static convertVersionFromModinfoToInt ($version)
 
static convertVersionIntToFloat ($version)
 
static getUid ()
 
static getUserName ( $uid)
 
static getDirnameListByTrustDirname ( $trustDirname)
 
static getTrustDirnameByDirname ( $dirname)
 
static formatPagetitle ( $modulename, $pagetitle, $action)
 
static getModuleHandler ( $name, $dirname)
 
static renderUri ( $dirname, $dataname=null, $data_id=0, $action=null, $query=null)
 
static getCommonModuleList ( $role)
 

Detailed Description

Definition at line 17 of file Legacy_Utils.class.php.

Member Function Documentation

◆ checkSystemModules()

static checkSystemModules ( )
static

Definition at line 26 of file Legacy_Utils.class.php.

◆ convertVersionFromModinfoToInt()

static convertVersionFromModinfoToInt ( $version)
static

Definition at line 162 of file Legacy_Utils.class.php.

◆ convertVersionIntToFloat()

static convertVersionIntToFloat ( $version)
static

Definition at line 172 of file Legacy_Utils.class.php.

◆ createBlockProcedure()

static & createBlockProcedure ( & $block)
static

Definition at line 99 of file Legacy_Utils.class.php.

◆ createModule()

static & createModule ( XoopsModule $module,
bool $loadConfig = true )
static

Definition at line 57 of file Legacy_Utils.class.php.

◆ formatPagetitle()

static formatPagetitle ( $modulename,
$pagetitle,
$action )
static

formatPagetitle

Parameters
string$modulename
string$pagetitleex. "Hello!", "How to install XCL?"
string$actionex.edit, delete, list
Returns
string
Parameters
$modulename* string **
$pagetitle* string **
$action* string **

Definition at line 257 of file Legacy_Utils.class.php.

◆ getCommonModuleList()

static getCommonModuleList ( $role)
static

getCommonModuleList

Parameters
string$roleex) cat, group, workflow, image
Returns
string[] dirnames
Parameters
$role* string **

Definition at line 358 of file Legacy_Utils.class.php.

◆ getDirnameListByTrustDirname()

static getDirnameListByTrustDirname ( $trustDirname)
static

getDirnameListByTrustDirname

Parameters
string$trustDirname
Returns
string[]
Parameters
$trustDirname* string **

Definition at line 218 of file Legacy_Utils.class.php.

◆ getModuleHandler()

static getModuleHandler ( $name,
$dirname )
static

getModuleHandler

Parameters
string$name
string$dirname
Returns
XoopsObjectGenericHandler
Parameters
$name* string **
$dirname* string **

Definition at line 281 of file Legacy_Utils.class.php.

◆ getTrustDirnameByDirname()

static getTrustDirnameByDirname ( $dirname)
static

getTrustDirnameByDirname

Parameters
string$dirname
Returns
string
Parameters
$dirname* string **

Definition at line 239 of file Legacy_Utils.class.php.

◆ getUid()

static getUid ( )
static

getUid

Parameters
void
Returns
int

Definition at line 184 of file Legacy_Utils.class.php.

◆ getUserName()

static getUserName ( $uid)
static

getUserName

Parameters
void
Returns
int
Parameters
$uid* int **

Definition at line 197 of file Legacy_Utils.class.php.

◆ raiseUserControlEvent()

static raiseUserControlEvent ( )
static

Definition at line 144 of file Legacy_Utils.class.php.

◆ renderUri()

static renderUri ( $dirname,
$dataname = null,
$data_id = 0,
$action = null,
$query = null )
static

renderUri

Parameters
string$dirname
string$dataname
int$data_id
string$action
string$query
Returns
XoopsObjectGenericHandler
Parameters
$dirname* string **
$dataname* string **
$data_id* int **
$action* string **
$query* string **

Definition at line 308 of file Legacy_Utils.class.php.


The documentation for this class was generated from the following file: