XpressEngine Core  1.11.2
 All Classes Namespaces Files Functions Variables Pages
Public Member Functions | Public Attributes | List of all members
ExtraVar Class Reference

Public Member Functions

getInstance ($module_srl)
 
 __construct ($module_srl)
 
 setExtraVarKeys ($extra_keys)
 
 getExtraVars ()
 

Public Attributes

 $module_srl = null
 
 $keys = null
 

Detailed Description

A class to handle extra variables used in posts, member and others

Author
NAVER (devel.nosp@m.oper.nosp@m.s@xpr.nosp@m.esse.nosp@m.ngine.nosp@m..com)

Definition at line 9 of file Extravar.class.php.

Constructor & Destructor Documentation

ExtraVar::__construct (   $module_srl)

Constructor

Parameters
int$module_srlSequence of module
Returns
void

Definition at line 41 of file Extravar.class.php.

Member Function Documentation

ExtraVar::getExtraVars ( )

Returns an array of ExtraItem

Returns
ExtraItem[]

Definition at line 71 of file Extravar.class.php.

& ExtraVar::getInstance (   $module_srl)

Get instance of ExtraVar (singleton)

Parameters
int$module_srlSequence of module
Returns
ExtraVar

Definition at line 30 of file Extravar.class.php.

ExtraVar::setExtraVarKeys (   $extra_keys)

Register a key of extra variable

Parameters
object[]$extra_keys Array of extra variable. A value of array is object that contains module_srl, idx, name, default, desc, is_required, search, value, eid.
Returns
void

Definition at line 52 of file Extravar.class.php.

Member Data Documentation

ExtraVar::$keys = null

Definition at line 22 of file Extravar.class.php.

ExtraVar::$module_srl = null

Definition at line 16 of file Extravar.class.php.


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