[ Index ] |
|
Code source de Symfony 1.0.0 |
[Code source] [Imprimer] [Statistiques]
(pas de description)
Poids: | 866 lignes (30 kb) |
Inclus ou requis: | 0 fois |
Référencé: | 0 fois |
Nécessite: | 0 fichiers |
PHP5ComplexPeerBuilder:: (13 méthodes):
addSelectMethods()
addDoSelectJoin()
doSelectJoin()
addDoCountJoin()
doCountJoin()
addDoSelectJoinAll()
doSelectJoinAll()
addDoCountJoinAll()
doCountJoinAll()
addDoSelectJoinAllExcept()
doSelectJoinAllExcept()
addDoCountJoinAllExcept()
doCountJoinAllExcept()
Classe: PHP5ComplexPeerBuilder - X-Ref
Generates a PHP5 base Peer class with complex object model methods.addSelectMethods(&$script) X-Ref |
Adds the complex OM methods to the base addSelectMethods() function. param: string &$script The script will be modified in this method. |
addDoSelectJoin(&$script) X-Ref |
Adds the doSelectJoin*() methods. param: string &$script The script will be modified in this method. |
doSelectJoin({\$c = clone \$c;if (\$c->getDbName() X-Ref |
Selects a collection of $className objects pre-filled with their $joinClassName objects. return: array Array of $className objects. |
addDoCountJoin(&$script) X-Ref |
Adds the doCountJoin*() methods. param: string &$script The script will be modified in this method. |
doCountJoin({\$criteria = clone \$criteria;\$criteria->clearSelectColumns() X-Ref |
Returns the number of rows matching criteria, joining the related ".$thisTableObjectBuilder->getFKPhpNameAffix($fk, $plural = false)." table param: Criteria \$c param: boolean \$distinct Whether to select only distinct columns (You can also set DISTINCT modifier in Criteria). param: Connection \$con return: int Number of matching rows. |
addDoSelectJoinAll(&$script) X-Ref |
Adds the doSelectJoinAll() method. param: string &$script The script will be modified in this method. |
doSelectJoinAll(Criteria \$c, \$con = null) X-Ref |
Selects a collection of $className objects pre-filled with all related objects. return: array Array of $className objects. |
addDoCountJoinAll(&$script) X-Ref |
Adds the doCountJoinAll() method. param: string &$script The script will be modified in this method. |
doCountJoinAll(Criteria \$criteria, \$distinct = false, \$con = null) X-Ref |
Returns the number of rows matching criteria, joining all related tables param: Criteria \$c param: boolean \$distinct Whether to select only distinct columns (You can also set DISTINCT modifier in Criteria). param: Connection \$con return: int Number of matching rows. |
addDoSelectJoinAllExcept(&$script) X-Ref |
Adds the doSelectJoinAllExcept*() methods. param: string &$script The script will be modified in this method. |
doSelectJoinAllExcept({\$c = clone \$c;if (\$c->getDbName() X-Ref |
Selects a collection of ".$table->getPhpName()." objects pre-filled with all related objects except ".$thisTableObjectBuilder->getFKPhpNameAffix($fk).". return: array Array of ".$table->getPhpName()." objects. |
addDoCountJoinAllExcept(&$script) X-Ref |
Adds the doCountJoinAllExcept*() methods. param: string &$script The script will be modified in this method. |
doCountJoinAllExcept({\$criteria = clone \$criteria;\$criteria->clearSelectColumns() X-Ref |
Returns the number of rows matching criteria, joining the related ".$thisTableObjectBuilder->getFKPhpNameAffix($fk, $plural = false)." table param: Criteria \$c param: boolean \$distinct Whether to select only distinct columns (You can also set DISTINCT modifier in Criteria). param: Connection \$con return: int Number of matching rows. |
Généré le : Fri Mar 16 22:42:14 2007 | par Balluche grâce à PHPXref 0.7 |