public function setClassName($class_name)
    {
        if ($class_name === null) {
            throw new ENabuCoreException(
                    ENabuCoreException::ERROR_NULL_VALUE_NOT_ALLOWED_IN,
                    array("\$class_name")
            );
        }

        $implements_list = class_implements($class_name, true);

        if (is_array($implements_list) &&
            array_search('nabu\http\interfaces\INabuHTTPResponseRender', $implements_list)
        ) {
            $this->setValue("nb_http_render_descriptor_class_name", $class_name);
        } else {
            throw new ENabuCoreException(ENabuCoreException::ERROR_INVALID_RENDER_DESCRIPTOR_CLASS);
        }

        return $this;
    }
public function setClassName($class_name)
    {
        if ($class_name === null) {
            throw new ENabuCoreException(
                    ENabuCoreException::ERROR_NULL_VALUE_NOT_ALLOWED_IN,
                    array("\$class_name")
            );
        }

        $implements_list = class_implements($class_name, true);

        if (is_array($implements_list) &&
            array_search('nabu\http\interfaces\INabuHTTPResponseRender', $implements_list)
        ) {
            $this->setValue("nb_http_render_descriptor_class_name", $class_name);
        } else {
            throw new ENabuCoreException(ENabuCoreException::ERROR_INVALID_RENDER_DESCRIPTOR_CLASS);
        }

        return $this;
    }
public function setClassName ( $ class_name ) { if ( $ class_name === null ) { throw new ENabuCoreException ( ENabuCoreException :: ERROR_NULL_VALUE_NOT_ALLOWED_IN , array ( "\$class_name" ) ) ; } $ implements_list = class_implements ( $ class_name , true ) ; if ( is_array ( $ implements_list ) && array_search ( 'nabu\http\interfaces\INabuHTTPResponseRender' , $ implements_list ) ) { $ this -> setValue ( "nb_http_render_descriptor_class_name" , $ class_name ) ; } else { throw new ENabuCoreException ( ENabuCoreException :: ERROR_INVALID_RENDER_DESCRIPTOR_CLASS ) ; } return $ this ; }
Sets the Descriptor class name attribute value
@param int $class_name New value for attribute
@return CNabuHTTPRenderDescriptor Returns $this
Sets the Descriptor class name attribute value