lib/PHPPdf/Core/Node/Node.php
public function getComplexAttributes($name = null)
    {
        if($name === null)
        {
            return $this->complexAttributeBag->getAll();
        }

        return $this->complexAttributeBag->get($name);
    }
public function getComplexAttributes($name = null)
    {
        if($name === null)
        {
            return $this->complexAttributeBag->getAll();
        }

        return $this->complexAttributeBag->get($name);
    }
public function getComplexAttributes ( $ name = null ) { if ( $ name === null ) { return $ this -> complexAttributeBag -> getAll ( ) ; } return $ this -> complexAttributeBag -> get ( $ name ) ; }
Get all complexAttribute data or data of complexAttribute with passed name

@param string $name Name of complexAttribute to get
@return array If $name is null, data of all complexAttributes will be returned, otherwise data of complexAttribute with passed name will be returned.
Get all complexAttribute data or data of complexAttribute with passed name