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

Ubiquity\orm\bulk$AbstractBulks This class is part of Ubiquity. More...

+ Inheritance diagram for AbstractBulks:

Public Member Functions

 __construct ($className)
 
 addInstances ($instances)
 
 addInstance ($instance)
 
 createSQL ()
 
 flush ()
 
 clear ()
 Remove all instances and parameters from this bulk.
 
 count ()
 Count all elements in instances to be flush.
 

Protected Member Functions

 getQuotedKeys ($fields, $quote)
 
 updateInstanceRest ($instance)
 
 execGroupTrans ($sql)
 

Protected Attributes

 $class
 
 $pkName
 
 $fields
 
 $tableName
 
 $db
 
 $instances = [ ]
 
 $parameters
 
 $dbType
 
 $insertFields
 
 $memberNames
 

Detailed Description

Ubiquity\orm\bulk$AbstractBulks 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.1

Definition at line 18 of file AbstractBulks.php.

Constructor & Destructor Documentation

◆ __construct()

__construct (   $className)

Reimplemented in BulkInserts, and BulkUpdates.

Definition at line 59 of file AbstractBulks.php.

Member Function Documentation

◆ addInstance()

addInstance (   $instance)
abstract

◆ addInstances()

addInstances (   $instances)

Definition at line 69 of file AbstractBulks.php.

◆ clear()

clear ( )

Remove all instances and parameters from this bulk.

Definition at line 108 of file AbstractBulks.php.

◆ count()

count ( )

Count all elements in instances to be flush.

Returns
int

Definition at line 118 of file AbstractBulks.php.

◆ createSQL()

createSQL ( )
abstract

Reimplemented in BulkDeletes, BulkInserts, and BulkUpdates.

◆ execGroupTrans()

execGroupTrans (   $sql)
protected

Definition at line 45 of file AbstractBulks.php.

◆ flush()

flush ( )

Definition at line 79 of file AbstractBulks.php.

◆ getQuotedKeys()

getQuotedKeys (   $fields,
  $quote 
)
protected

Definition at line 30 of file AbstractBulks.php.

◆ updateInstanceRest()

updateInstanceRest (   $instance)
protected

Definition at line 38 of file AbstractBulks.php.

Field Documentation

◆ $class

$class
protected

Definition at line 19 of file AbstractBulks.php.

◆ $db

$db
protected

Definition at line 23 of file AbstractBulks.php.

◆ $dbType

$dbType
protected

Definition at line 26 of file AbstractBulks.php.

◆ $fields

$fields
protected

Definition at line 21 of file AbstractBulks.php.

◆ $insertFields

$insertFields
protected

Definition at line 27 of file AbstractBulks.php.

◆ $instances

$instances = [ ]
protected

Definition at line 24 of file AbstractBulks.php.

◆ $memberNames

$memberNames
protected

Definition at line 28 of file AbstractBulks.php.

◆ $parameters

$parameters
protected

Definition at line 25 of file AbstractBulks.php.

◆ $pkName

$pkName
protected

Definition at line 20 of file AbstractBulks.php.

◆ $tableName

$tableName
protected

Definition at line 22 of file AbstractBulks.php.


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