Exemplo n.º 1
0
 /**
  * Creates a new record in the specified portal.
  *
  * @param string $relatedSet Name of the portal to create a new record in.
  *
  * @return Record A new, blank record.
  * @throws FileMakerException
  */
 public function newRelatedRecord($relatedSet)
 {
     $relatedSetInfos = $this->layout->getRelatedSet($relatedSet);
     $record = new Record($relatedSetInfos);
     $record->setParent($this);
     $record->relatedSetName = $relatedSet;
     return $record;
 }