[ Index ]
 

Code source de Symfony 1.0.0

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/lib/vendor/propel/util/ -> PeerInfo.php (sommaire)

(pas de description)

Poids: 190 lignes (6 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 1 class

PeerInfo:: (9 méthodes):
  addPeer()
  getPeerConstant()
  getPeer()
  loadPeer()
  getColumnConstant()
  getPrimaryKey()
  getTableMap()
  getTableName()
  callMethod()


Classe: PeerInfo  - X-Ref

Peer Helper Class

Handle Dynamic Peer Access. Trying to solve the problems associated
with looking at constants, calling methods on static Peer Objects

addPeer($peer)   X-Ref
Add a Peer to the list of Peers

param: string $peer The Propel Peer to add

getPeerConstant($peer, $name)   X-Ref
Get a constant from the Peer Reflector

param: String The name of the constant
return: String The Constant String

getPeer($peer)   X-Ref
Get a Peer from the Peer List

param: string $peer The Propel Peer to add

loadPeer($peerName)   X-Ref
Load a Peer

You may wat to override this method if your Peers
are not in the include_path.

param: string $peerName the name of the Peer

getColumnConstant($peer, $name)   X-Ref
Get a Column Constant from a Peer

param: string The PhpName or DB_NAME for the constant
return: string the Column Constant

getPrimaryKey($peer)   X-Ref
Get the Primary Key for this Peer

param: string $peer   The name of the Peer
return: string The name of the Primary Key

getTableMap($peer)   X-Ref
Get the Table Map for a Peer

param: string $peer   The name of the Peer
return: TableMap The table map for this Peer

getTableName($peer)   X-Ref
Pas de description

callMethod($peer, $method, $params = null)   X-Ref
Call a Method from the Static Peer Class

param: string $peer   The name of the Peer
param: string $method The name of the method to call
param: array  $params The parameters to pass to the method
return: mixed What ever the method returns



Généré le : Fri Mar 16 22:42:14 2007 par Balluche grâce à PHPXref 0.7