public function setAttachment(string $attachment = "F") : CNabuDataObject
    {
        if ($attachment === null) {
            throw new ENabuCoreException(
                    ENabuCoreException::ERROR_NULL_VALUE_NOT_ALLOWED_IN,
                    array("\$attachment")
            );
        }
        $this->setValue('nb_site_target_attachment', $attachment);
        
        return $this;
    }
public function setAttachment(string $attachment = "F") : CNabuDataObject
    {
        if ($attachment === null) {
            throw new ENabuCoreException(
                    ENabuCoreException::ERROR_NULL_VALUE_NOT_ALLOWED_IN,
                    array("\$attachment")
            );
        }
        $this->setValue('nb_site_target_attachment', $attachment);
        
        return $this;
    }
public function setAttachment ( string $ attachment = "F" ) : CNabuDataObject { if ( $ attachment === null ) { throw new ENabuCoreException ( ENabuCoreException :: ERROR_NULL_VALUE_NOT_ALLOWED_IN , array ( "\$attachment" ) ) ; } $ this -> setValue ( 'nb_site_target_attachment' , $ attachment ) ; return $ this ; }
Sets the Site Target Attachment attribute value.
@param string $attachment New value for attribute
@return CNabuDataObject Returns self instance to grant chained setters call.
Sets the Site Target Attachment attribute value .