lib/ezpdf/classes/class.pdf.php
function openHere( $style, $a = 0, $b = 0, $c = 0 )
    {
        // this function will open the document at a specified page, in a specified style
        // the values for style, and the required paramters are:
        // 'XYZ'  left, top, zoom
        // 'Fit'
        // 'FitH' top
        // 'FitV' left
        // 'FitR' left,bottom,right
        // 'FitB'
        // 'FitBH' top
        // 'FitBV' left
        $this->numObj++;
        $this->o_destination( $this->numObj, 'new', array( 'page' => $this->currentPage,
                                                           'type' => $style,
                                                           'p1' => $a, 'p2' => $b, 'p3' => $c ) );
        $id = $this->catalogId;
        $this->o_catalog( $id, 'openHere', $this->numObj );
    }
function openHere( $style, $a = 0, $b = 0, $c = 0 )
    {
        // this function will open the document at a specified page, in a specified style
        // the values for style, and the required paramters are:
        // 'XYZ'  left, top, zoom
        // 'Fit'
        // 'FitH' top
        // 'FitV' left
        // 'FitR' left,bottom,right
        // 'FitB'
        // 'FitBH' top
        // 'FitBV' left
        $this->numObj++;
        $this->o_destination( $this->numObj, 'new', array( 'page' => $this->currentPage,
                                                           'type' => $style,
                                                           'p1' => $a, 'p2' => $b, 'p3' => $c ) );
        $id = $this->catalogId;
        $this->o_catalog( $id, 'openHere', $this->numObj );
    }
function openHere ( $ style , $ a = 0 , $ b = 0 , $ c = 0 ) { // this function will open the document at a specified page, in a specified style // the values for style, and the required paramters are: // 'XYZ'  left, top, zoom // 'Fit' // 'FitH' top // 'FitV' left // 'FitR' left,bottom,right // 'FitB' // 'FitBH' top // 'FitBV' left $ this -> numObj ++ ; $ this -> o_destination ( $ this -> numObj , 'new' , array ( 'page' => $ this -> currentPage , 'type' => $ style , 'p1' => $ a , 'p2' => $ b , 'p3' => $ c ) ) ; $ id = $ this -> catalogId ; $ this -> o_catalog ( $ id , 'openHere' , $ this -> numObj ) ; }
specify where the document should open when it first starts
specify where the document should open when it first starts