View

Recupero el nombre del evento en base a su id.

  1. Doctrine
  2. $eventName = Doctrine::getTable(‘Events’)->find($id)->getName();
  3. Propel
  4. $event = EventsPeer::RetriveByPk($id);
  5. $eventName = $event->getName();

You may also like