PersistentCriteria Class Reference

Inheritance diagram for PersistentCriteria:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 __construct ($classMap, $manager)
 getManager ()
 getNewCondition ()
 getWhereCondition ()
 getClassMap ()
 addTable ($tableMap, $alias= '')
 getTableAlias ($tableMap)
 addCriteriaTables ($tables)
 getTables ()
 getAlias ($classMap=NULL)
 setAlias ($alias, $classMap=NULL)
 isAlias ($name)
 setAssociationAlias ($associationName, $alias)
 setAssociationType ($associationName, $joinType)
 setAutoAssociationAlias ($alias0, $alias1)
 setReferenceAlias ($alias)
 getAssociationsJoin ()
 getAttributeMap (&$attribute)
 getOperand ($operand)
 getCriteria ($op1, $operator= '', $op2=NULL)
 addCriteria ($op1, $operator= '', $op2=NULL)
 addOrCriteria ($op1, $operator= '', $op2=NULL)
 getAssociation ($associationName)
 getAssociationMap ($classMap, $associationName)
 addAssociationMap ($classMap, $associationName, $inverse=NULL)
 addJoinCriteria ($criteria)

Protected Attributes

 $classMap = NULL
 $tables = array()
 $aliasTable = array()
 $associations = array()
 $whereCondition = NULL
 $manager = NULL
 $alias = ''

Private Member Functions

 _addAssociation ($name, $classMap, $associationMap, $alias= '', $joinType= 'INNER')

Detailed Description

Definition at line 56 of file persistentcriteria.class.


Constructor & Destructor Documentation

PersistentCriteria::__construct ( classMap,
manager 
)

Reimplemented in DeleteCriteria, and RetrieveCriteria.

Definition at line 66 of file persistentcriteria.class.

References $classMap, $manager, and getNewCondition().

Here is the call graph for this function:


Member Function Documentation

PersistentCriteria::getManager (  ) 

Definition at line 84 of file persistentcriteria.class.

PersistentCriteria::getNewCondition (  ) 

Definition at line 89 of file persistentcriteria.class.

Referenced by RetrieveCriteria::__construct(), and __construct().

Here is the caller graph for this function:

PersistentCriteria::getWhereCondition (  ) 

Definition at line 94 of file persistentcriteria.class.

Referenced by addJoinCriteria().

Here is the caller graph for this function:

PersistentCriteria::getClassMap (  ) 

Definition at line 99 of file persistentcriteria.class.

Referenced by RetrieveCriteria::getSqlStatement().

Here is the caller graph for this function:

PersistentCriteria::addTable ( tableMap,
alias = '' 
)

Definition at line 104 of file persistentcriteria.class.

References $alias.

Referenced by addAssociationMap(), addCriteriaTables(), and setAlias().

Here is the caller graph for this function:

PersistentCriteria::getTableAlias ( tableMap  ) 

Definition at line 130 of file persistentcriteria.class.

Referenced by getAssociationsJoin().

Here is the caller graph for this function:

PersistentCriteria::addCriteriaTables ( tables  ) 

Definition at line 142 of file persistentcriteria.class.

References $tables, and addTable().

Referenced by addJoinCriteria().

Here is the call graph for this function:

Here is the caller graph for this function:

PersistentCriteria::getTables (  ) 

Definition at line 152 of file persistentcriteria.class.

Referenced by addJoinCriteria(), and RetrieveCriteria::getSqlStatement().

Here is the caller graph for this function:

PersistentCriteria::getAlias ( classMap = NULL  ) 

Definition at line 157 of file persistentcriteria.class.

References $alias, and $classMap.

Referenced by getAssociation(), and RetrieveCriteria::getSqlStatement().

Here is the caller graph for this function:

PersistentCriteria::setAlias ( alias,
classMap = NULL 
)

Definition at line 168 of file persistentcriteria.class.

References $alias, $classMap, and addTable().

Referenced by setAssociationAlias(), and setAutoAssociationAlias().

Here is the call graph for this function:

Here is the caller graph for this function:

PersistentCriteria::isAlias ( name  ) 

Definition at line 180 of file persistentcriteria.class.

Referenced by getAttributeMap().

Here is the caller graph for this function:

PersistentCriteria::setAssociationAlias ( associationName,
alias 
)

Definition at line 185 of file persistentcriteria.class.

References $alias, addAssociationMap(), getAssociation(), and setAlias().

Here is the call graph for this function:

PersistentCriteria::setAssociationType ( associationName,
joinType 
)

Definition at line 200 of file persistentcriteria.class.

References addAssociationMap(), and getAssociation().

Here is the call graph for this function:

PersistentCriteria::setAutoAssociationAlias ( alias0,
alias1 
)

Definition at line 213 of file persistentcriteria.class.

References setAlias().

Here is the call graph for this function:

PersistentCriteria::setReferenceAlias ( alias  ) 

Definition at line 219 of file persistentcriteria.class.

References $alias.

PersistentCriteria::getAssociationsJoin (  ) 

Definition at line 224 of file persistentcriteria.class.

References $classMap, _addAssociation(), and getTableAlias().

Referenced by RetrieveCriteria::getSqlStatement().

Here is the call graph for this function:

Here is the caller graph for this function:

PersistentCriteria::getAttributeMap ( &$  attribute  ) 

Definition at line 302 of file persistentcriteria.class.

References getAssociationMap(), and isAlias().

Referenced by RetrieveCriteria::addColumnAttribute(), and getOperand().

Here is the call graph for this function:

Here is the caller graph for this function:

PersistentCriteria::getOperand ( operand  ) 

Definition at line 359 of file persistentcriteria.class.

References getAttributeMap().

Referenced by getCriteria(), and RetrieveCriteria::getSqlStatement().

Here is the call graph for this function:

Here is the caller graph for this function:

PersistentCriteria::getCriteria ( op1,
operator = '',
op2 = NULL 
)

Definition at line 406 of file persistentcriteria.class.

References getOperand().

Referenced by addCriteria(), RetrieveCriteria::addHavingCriteria(), addOrCriteria(), and RetrieveCriteria::addOrHavingCriteria().

Here is the call graph for this function:

Here is the caller graph for this function:

PersistentCriteria::addCriteria ( op1,
operator = '',
op2 = NULL 
)

Definition at line 414 of file persistentcriteria.class.

References getCriteria().

Here is the call graph for this function:

PersistentCriteria::addOrCriteria ( op1,
operator = '',
op2 = NULL 
)

Definition at line 419 of file persistentcriteria.class.

References getCriteria().

Here is the call graph for this function:

PersistentCriteria::getAssociation ( associationName  ) 

Definition at line 424 of file persistentcriteria.class.

References getAlias().

Referenced by getAssociationMap(), setAssociationAlias(), and setAssociationType().

Here is the call graph for this function:

Here is the caller graph for this function:

PersistentCriteria::getAssociationMap ( classMap,
associationName 
)

Definition at line 437 of file persistentcriteria.class.

References $classMap, addAssociationMap(), and getAssociation().

Referenced by getAttributeMap().

Here is the call graph for this function:

Here is the caller graph for this function:

PersistentCriteria::addAssociationMap ( classMap,
associationName,
inverse = NULL 
)

Definition at line 452 of file persistentcriteria.class.

References $classMap, _addAssociation(), and addTable().

Referenced by getAssociationMap(), setAssociationAlias(), and setAssociationType().

Here is the call graph for this function:

Here is the caller graph for this function:

PersistentCriteria::_addAssociation ( name,
classMap,
associationMap,
alias = '',
joinType = 'INNER' 
) [private]

Definition at line 486 of file persistentcriteria.class.

References $alias, and $classMap.

Referenced by addAssociationMap(), and getAssociationsJoin().

Here is the caller graph for this function:

PersistentCriteria::addJoinCriteria ( criteria  ) 

Reimplemented in RetrieveCriteria.

Definition at line 491 of file persistentcriteria.class.

References addCriteriaTables(), getTables(), and getWhereCondition().

Here is the call graph for this function:


Member Data Documentation

PersistentCriteria::$classMap = NULL [protected]

Definition at line 58 of file persistentcriteria.class.

Referenced by RetrieveCriteria::__construct(), __construct(), DeleteCriteria::__construct(), _addAssociation(), addAssociationMap(), RetrieveCriteria::addColumnAttribute(), getAlias(), getAssociationMap(), getAssociationsJoin(), RetrieveCriteria::getSqlStatement(), and setAlias().

PersistentCriteria::$tables = array() [protected]

Definition at line 59 of file persistentcriteria.class.

Referenced by addCriteriaTables(), and RetrieveCriteria::getSqlStatement().

PersistentCriteria::$aliasTable = array() [protected]

Definition at line 60 of file persistentcriteria.class.

PersistentCriteria::$associations = array() [protected]

Definition at line 61 of file persistentcriteria.class.

PersistentCriteria::$whereCondition = NULL [protected]

Definition at line 62 of file persistentcriteria.class.

Referenced by RetrieveCriteria::getSqlStatement(), and DeleteCriteria::getSqlStatement().

PersistentCriteria::$manager = NULL [protected]

Definition at line 63 of file persistentcriteria.class.

Referenced by RetrieveCriteria::__construct(), __construct(), and DeleteCriteria::__construct().

PersistentCriteria::$alias = '' [protected]

Definition at line 64 of file persistentcriteria.class.

Referenced by _addAssociation(), RetrieveCriteria::addColumnAttribute(), addTable(), getAlias(), RetrieveCriteria::getSqlStatement(), setAlias(), setAssociationAlias(), and setReferenceAlias().


The documentation for this class was generated from the following file:
CopyLeft (L) 2001-2006 - [MIOLO Development Team] SOLIS - Cooperativa de Soluções Livres - Lajeado/RS - Brasil