예제 #1
0
 /**
  * Loads the RecipientList with the given name, which belongs to the user.
  *
  * @param string $Name The name of the list which should be loaded
  *
  * @return RecipientList
  */
 public function getRecipientListByName($Name)
 {
     $crit = new GenericCriterionObject();
     $crit->addPropertyIndicator('Name', $Name);
     return $this->User->loadRelatedObject('User2RecipientList', $crit);
 }