lib/PHPPdf/Core/Node/BasicList.php
public function setType($type)
    {
        $const = sprintf('%s::TYPE_%s', __CLASS__, strtoupper($type));
        
        if(defined($const))
        {
            $type = constant($const);
        }
        
        $this->setAttributeDirectly('type', $type);
        
        $this->enumerationStrategy = null;
    }
public function setType($type)
    {
        $const = sprintf('%s::TYPE_%s', __CLASS__, strtoupper($type));
        
        if(defined($const))
        {
            $type = constant($const);
        }
        
        $this->setAttributeDirectly('type', $type);
        
        $this->enumerationStrategy = null;
    }
public function setType ( $ type ) { $ const = sprintf ( '%s::TYPE_%s' , __CLASS__ , strtoupper ( $ type ) ) ; if ( defined ( $ const ) ) { $ type = constant ( $ const ) ; } $ this -> setAttributeDirectly ( 'type' , $ type ) ; $ this -> enumerationStrategy = null ; }
Sets list type

Implementation of this method also clears enumeration strategy property

@param string List type
Sets list type