示例#1
0
 /**
  * Initializes the collLyrics crossRef collection.
  *
  * By default this just sets the collLyrics collection to an empty collection (like clearLyrics());
  * however, you may wish to override this method in your stub class to provide setting appropriate
  * to your application -- for example, setting the initial array to the values stored in database.
  *
  * @return void
  */
 public function initLyrics()
 {
     $collectionClassName = ArtistLyricTableMap::getTableMap()->getCollectionClassName();
     $this->collLyrics = new $collectionClassName();
     $this->collLyricsPartial = true;
     $this->collLyrics->setModel('\\Tekstove\\ApiBundle\\Model\\Lyric');
 }