ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
arStatementCollection Class Reference

Class arStatementCollection. More...

+ Inheritance diagram for arStatementCollection:
+ Collaboration diagram for arStatementCollection:

Public Member Functions

 add (arStatement $statement)
 
 hasStatements ()
 
 asSQLStatement ()
 
 asORACLEStatement ()
 
 setAr ($ar)
 
 getAr ()
 
 setStatements ($statements)
 
 getStatements ()
 

Protected Attributes

 $statements = array()
 
 $ar
 

Static Protected Attributes

static $cache = array()
 

Detailed Description

Class arStatementCollection.

Author
Fabian Schmid fs@st.nosp@m.uder.nosp@m.-raim.nosp@m.ann..nosp@m.ch
Version
2.0.7

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

Member Function Documentation

◆ add()

arStatementCollection::add ( arStatement  $statement)
Parameters
arStatement$statement

Reimplemented in arJoinCollection.

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

31 {
32 $this->statements[] = $statement;
33 }

◆ asORACLEStatement()

arStatementCollection::asORACLEStatement ( )
Returns
string

Reimplemented in arJoinCollection.

Definition at line 73 of file class.arStatementCollection.php.

74 {
75 return $this->asSQLStatement();
76 }

References asSQLStatement().

+ Here is the call graph for this function:

◆ asSQLStatement()

arStatementCollection::asSQLStatement ( )
abstract
Returns
string

Reimplemented in arConcatCollection, arHavingCollection, arJoinCollection, arOrderCollection, arSelectCollection, and arWhereCollection.

Referenced by asORACLEStatement().

+ Here is the caller graph for this function:

◆ getAr()

◆ getStatements()

arStatementCollection::getStatements ( )
Returns
\arStatement[]

Definition at line 109 of file class.arStatementCollection.php.

References $statements.

◆ hasStatements()

arStatementCollection::hasStatements ( )

◆ setAr()

arStatementCollection::setAr (   $ar)
Parameters
\ActiveRecord$ar

Definition at line 82 of file class.arStatementCollection.php.

83 {
84 $this->ar = $ar;
85 }

References $ar.

◆ setStatements()

arStatementCollection::setStatements (   $statements)
Parameters
\arStatement[]$statements

Definition at line 100 of file class.arStatementCollection.php.

101 {
102 $this->statements = $statements;
103 }

References $statements.

Field Documentation

◆ $ar

arStatementCollection::$ar
protected

Definition at line 24 of file class.arStatementCollection.php.

Referenced by getAr(), and setAr().

◆ $cache

arStatementCollection::$cache = array()
staticprotected

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

◆ $statements


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