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

Class arConcatCollection. More...

+ Inheritance diagram for arConcatCollection:
+ Collaboration diagram for arConcatCollection:

Public Member Functions

 asSQLStatement ()
 
 getConcats ()
 
- Public Member Functions inherited from arStatementCollection
 add (arStatement $statement)
 
 hasStatements ()
 
 asSQLStatement ()
 
 asORACLEStatement ()
 
 setAr ($ar)
 
 getAr ()
 
 setStatements ($statements)
 
 getStatements ()
 

Additional Inherited Members

- Protected Attributes inherited from arStatementCollection
 $statements = array()
 
 $ar
 
- Static Protected Attributes inherited from arStatementCollection
static $cache = array()
 

Detailed Description

Class arConcatCollection.

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

Definition at line 11 of file class.arConcatCollection.php.

Member Function Documentation

◆ asSQLStatement()

arConcatCollection::asSQLStatement ( )
Returns
string

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

References arStatementCollection\getAr(), getConcats(), and arStatementCollection\hasStatements().

18  {
19  $return = '';
20  if ($this->hasStatements()) {
21  $return = ', ';
22  foreach ($this->getConcats() as $concat) {
23  $return .= $concat->asSQLStatement($this->getAr());
24  if ($concat != end($this->getConcats())) {
25  $return .= ', ';
26  }
27  }
28  }
29 
30  return $return;
31  }
+ Here is the call graph for this function:

◆ getConcats()

arConcatCollection::getConcats ( )
Returns
arConcat[]

Definition at line 37 of file class.arConcatCollection.php.

References arStatementCollection\$statements.

Referenced by asSQLStatement().

+ Here is the caller graph for this function:

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