Ubiquity 2.5.2
php rapid development framework
Loading...
Searching...
No Matches
DAOPreparedTrait Class Reference

Ubiquity\orm\traits$DAOPreparedTrait This class is part of Ubiquity. More...

+ Inheritance diagram for DAOPreparedTrait:

Static Public Member Functions

static prepareGetById ($name, $className, $included=false, $cache=null)
 
static prepareGetOne ($name, $className, $condition='', $included=false, $cache=null)
 
static prepareGetAll ($name, $className, $condition='', $included=false, $cache=null)
 
static executePrepared ($name, $params=[], $useCache=false)
 
static storeDbCachePrepared ($name)
 
static getPrepared (string $name)
 Returns the daoPreparedQuery corresponding to a name.
 

Static Protected Attributes

static $preparedDAOQueries = []
 

Detailed Description

Ubiquity\orm\traits$DAOPreparedTrait This class is part of Ubiquity.

Author
jcheron myadd.nosp@m.ress.nosp@m.mail@.nosp@m.gmai.nosp@m.l.com
Version
1.0.0

Definition at line 17 of file DAOPreparedTrait.php.

Member Function Documentation

◆ executePrepared()

static executePrepared (   $name,
  $params = [],
  $useCache = false 
)
static

Definition at line 33 of file DAOPreparedTrait.php.

◆ getPrepared()

static getPrepared ( string  $name)
static

Returns the daoPreparedQuery corresponding to a name.

Parameters
string$name
Returns
DAOPreparedQuery

Definition at line 52 of file DAOPreparedTrait.php.

◆ prepareGetAll()

static prepareGetAll (   $name,
  $className,
  $condition = '',
  $included = false,
  $cache = null 
)
static

Definition at line 29 of file DAOPreparedTrait.php.

◆ prepareGetById()

static prepareGetById (   $name,
  $className,
  $included = false,
  $cache = null 
)
static

Definition at line 21 of file DAOPreparedTrait.php.

◆ prepareGetOne()

static prepareGetOne (   $name,
  $className,
  $condition = '',
  $included = false,
  $cache = null 
)
static

Definition at line 25 of file DAOPreparedTrait.php.

◆ storeDbCachePrepared()

static storeDbCachePrepared (   $name)
static

Definition at line 40 of file DAOPreparedTrait.php.

Field Documentation

◆ $preparedDAOQueries

$preparedDAOQueries = []
staticprotected

Definition at line 19 of file DAOPreparedTrait.php.


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