Exemplo n.º 1
0
 public function retrieveByIdentifier($value)
 {
     switch ($this->identifier) {
         case EntryIdentifierField::ID:
             return entryPeer::retrieveByPK($value);
         case EntryIdentifierField::REFERENCE_ID:
             return entryPeer::retrieveByReferenceId($value);
     }
 }