/**
  * Returns a peer instance associated with this om.
  *
  * Since Peer classes are not to have any instance attributes, this method returns the
  * same instance for all member of this class. The method could therefore
  * be static, but this would prevent one from overriding the behavior.
  *
  * @return     CcPlaylistcontentsPeer
  */
 public function getPeer()
 {
     if (self::$peer === null) {
         self::$peer = new CcPlaylistcontentsPeer();
     }
     return self::$peer;
 }
Example #2
0
 /**
  * Get the [optionally formatted] temporal [fadein] column value.
  *
  * @return     mixed Formatted date/time value as string or DateTime object (if format is NULL), NULL if column is NULL
  * @throws     PropelException - if unable to parse/validate the date/time value.
  */
 public function getDbFadeout($format = "s.u")
 {
     return parent::getDbFadeout($format);
 }