Ubiquity  2.0.3
php rapid development framework
CRUDHelper Class Reference

Static Public Member Functions

static getIdentifierFunction ($model)
 
static search ($model, $search, $fields, $initialCondition="1=1")
 
static update ($instance, $values, $updateManyToOneInForm=true, $updateManyToManyInForm=false)
 
static getFkIntance ($instance, $model, $member)
 
static getFKIntances ($instance, $model)
 

Static Private Member Functions

static getPks ($model)
 
static getMultiWhere ($ids, $class)
 

Detailed Description

Definition at line 13 of file CRUDHelper.php.

Member Function Documentation

◆ getFkIntance()

static getFkIntance (   $instance,
  $model,
  $member 
)
static

Definition at line 117 of file CRUDHelper.php.

◆ getFKIntances()

static getFKIntances (   $instance,
  $model 
)
static

Definition at line 137 of file CRUDHelper.php.

◆ getIdentifierFunction()

static getIdentifierFunction (   $model)
static

Definition at line 14 of file CRUDHelper.php.

◆ getMultiWhere()

static getMultiWhere (   $ids,
  $class 
)
staticprivate

Definition at line 104 of file CRUDHelper.php.

◆ getPks()

static getPks (   $model)
staticprivate

Definition at line 99 of file CRUDHelper.php.

◆ search()

static search (   $model,
  $search,
  $fields,
  $initialCondition = "1=1" 
)
static

Definition at line 28 of file CRUDHelper.php.

◆ update()

static update (   $instance,
  $values,
  $updateManyToOneInForm = true,
  $updateManyToManyInForm = false 
)
static

Definition at line 43 of file CRUDHelper.php.


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