XOOPS  2.6.0
Xoops\Core\Kernel\Dtype Class Reference

Static Public Member Functions

static cleanVar (XoopsObject $obj, $key, $quote=true)
 
static getVar (XoopsObject $obj, $key, $format)
 

Static Private Member Functions

static getDtypeName (XoopsObject $obj, $key)
 
static getLegacyNames ()
 
static loadDtype ($name)
 

Detailed Description

Definition at line 27 of file Dtype.php.

Member Function Documentation

static Xoops\Core\Kernel\Dtype::cleanVar ( XoopsObject  $obj,
  $key,
  $quote = true 
)
static

cleanVar

Parameters
XoopsObject$objobject
mixed$keykey
bool$quotequote result
Returns
mixed

Definition at line 38 of file Dtype.php.

References Xoops\Core\Kernel\Dtype\getDtypeName(), and Xoops\Core\Kernel\Dtype\loadDtype().

Referenced by Xoops\Core\Kernel\Model\Write\cleanVars(), and Xoops\Core\Kernel\XoopsObject\cleanVars().

Here is the call graph for this function:

Here is the caller graph for this function:

static Xoops\Core\Kernel\Dtype::getDtypeName ( XoopsObject  $obj,
  $key 
)
staticprivate

getDtypeName

Parameters
XoopsObject$objobject
mixed$keykey
Returns
string

Definition at line 94 of file Dtype.php.

References $name, and Xoops\Core\Kernel\Dtype\getLegacyNames().

Referenced by Xoops\Core\Kernel\Dtype\cleanVar(), and Xoops\Core\Kernel\Dtype\getVar().

Here is the call graph for this function:

Here is the caller graph for this function:

static Xoops\Core\Kernel\Dtype::getLegacyNames ( )
staticprivate

Support for legacy objects

Returns
string[]

Definition at line 109 of file Dtype.php.

Referenced by Xoops\Core\Kernel\Dtype\getDtypeName().

Here is the caller graph for this function:

static Xoops\Core\Kernel\Dtype::getVar ( XoopsObject  $obj,
  $key,
  $format 
)
static

getVar

Parameters
XoopsObject$objobject
string$keykey
string$formatformat
Returns
mixed

Definition at line 52 of file Dtype.php.

References Xoops\Core\Kernel\Dtype\getDtypeName(), and Xoops\Core\Kernel\Dtype\loadDtype().

Referenced by Xoops\Core\Kernel\XoopsObject\getVar().

Here is the call graph for this function:

Here is the caller graph for this function:

static Xoops\Core\Kernel\Dtype::loadDtype (   $name)
staticprivate

loadDtype

Parameters
string$namedtype name to load
Returns
null|DtypeAbstract

Definition at line 65 of file Dtype.php.

References $name.

Referenced by Xoops\Core\Kernel\Dtype\cleanVar(), and Xoops\Core\Kernel\Dtype\getVar().

Here is the caller graph for this function:


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