setSystem() public méthode

Sets the key of the segment.
public setSystem ( string $system )
$system string
Exemple #1
0
 /**
  * Generates and sets the security object from the XML document.
  */
 protected function generateSecurity()
 {
     $securitySystemNode = $this->xpath->query('/x:webspace/x:security/x:system');
     if ($securitySystemNode->length > 0) {
         $security = new Security();
         $security->setSystem($securitySystemNode->item(0)->nodeValue);
         $this->webspace->setSecurity($security);
     }
 }