nyroFwk  0.2
Public Member Functions | Protected Member Functions | Protected Attributes
db_whereClause Class Reference
Inheritance diagram for db_whereClause:
object

Public Member Functions

 __set ($name, $val)
 
 between ($st, $end)
 
 betweenEq ($st, $end)
 
 __toString ()
 
 getAttr ($name)
 
 setAttr ($name, $value)
 
 getCfg ()
 

Protected Member Functions

 beforeInit ()
 
 afterInit ()
 

Protected Attributes

 $cfg
 

Detailed Description

SQL Where clause

Definition at line 10 of file whereClause.class.php.

Member Function Documentation

◆ __set()

__set (   $name,
  $val 
)

Using to set the whole configuration parameter

Definition at line 15 of file whereClause.class.php.

◆ __toString()

__toString ( )

Transform the object in string to be using in SQL statement

Returns
string

Definition at line 40 of file whereClause.class.php.

◆ afterInit()

afterInit ( )
protectedinherited

Call just after the configuration initialisation

Definition at line 40 of file object.class.php.

◆ beforeInit()

beforeInit ( )
protectedinherited

Call just before the configuration initialisation

Definition at line 35 of file object.class.php.

◆ between()

between (   $st,
  $end 
)

Using to set the 'mt' and 'lt' parameter in the same time

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

◆ betweenEq()

betweenEq (   $st,
  $end 
)

Using to set the 'mte' and 'lte' parameter in the same time

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

◆ getAttr()

getAttr (   $name)
inherited

Get an attribute

Parameters
string$nameAttribute name
Returns
mixed|null The attribute or null if not set

Definition at line 48 of file object.class.php.

◆ getCfg()

getCfg ( )
inherited

Get the configuration object

Returns
config

Definition at line 67 of file object.class.php.

◆ setAttr()

setAttr (   $name,
  $value 
)
inherited

Set an attribute

Parameters
string$nameAttribute name
mixed$valueAttribute value

Definition at line 58 of file object.class.php.

Field Documentation

◆ $cfg

$cfg
protectedinherited

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


The documentation for this class was generated from the following file:
Generated on Sun Oct 15 2017 22:25:20 for nyroFwk by doxygen 1.8.13