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