public function setNodeRef($newNodeRef)
    {
        $this->fields['NodeRef'] = $newNodeRef;
        $this->fields['Slug'] = $newNodeRef->isFullyQualified()?$newNodeRef->getSlug():'';
    }
public function setNodeRef($newNodeRef)
    {
        $this->fields['NodeRef'] = $newNodeRef;
        $this->fields['Slug'] = $newNodeRef->isFullyQualified()?$newNodeRef->getSlug():'';
    }
public function setNodeRef ( $ newNodeRef ) { $ this -> fields [ 'NodeRef' ] = $ newNodeRef ; $ this -> fields [ 'Slug' ] = $ newNodeRef -> isFullyQualified ( ) ? $ newNodeRef -> getSlug ( ) : '' ; }
Changes our NodeRef

@param NodeRef $newNodeRef
Changes our NodeRef