lib/ezpdf/classes/class.pdf.php
function addInfo( $label, $value = 0 )
    {
        // this will only work if the label is one of the valid ones.
        // modify this so that arrays can be passed as well.
        // if $label is an array then assume that it is key=>value pairs
        // else assume that they are both scalar, anything else will probably error
        if ( is_array( $label ) )
        {
            foreach ( $label as $l => $v )
            {
                $this->o_info( $this->infoObject, $l, $v );
            }
        }
        else
        {
            $this->o_info( $this->infoObject, $label, $value );
        }
    }
function addInfo( $label, $value = 0 )
    {
        // this will only work if the label is one of the valid ones.
        // modify this so that arrays can be passed as well.
        // if $label is an array then assume that it is key=>value pairs
        // else assume that they are both scalar, anything else will probably error
        if ( is_array( $label ) )
        {
            foreach ( $label as $l => $v )
            {
                $this->o_info( $this->infoObject, $l, $v );
            }
        }
        else
        {
            $this->o_info( $this->infoObject, $label, $value );
        }
    }
function addInfo ( $ label , $ value = 0 ) { // this will only work if the label is one of the valid ones. // modify this so that arrays can be passed as well. // if $label is an array then assume that it is key=>value pairs // else assume that they are both scalar, anything else will probably error if ( is_array ( $ label ) ) { foreach ( $ label as $ l => $ v ) { $ this -> o_info ( $ this -> infoObject , $ l , $ v ) ; } } else { $ this -> o_info ( $ this -> infoObject , $ label , $ value ) ; } }
add content to the documents info object
add content to the documents info object