lib/ezpdf/classes/class.ezpdftable.php
function callTOC( $info )
    {
        $params = array();

        eZPDFTable::extractParameters( $info['p'], 0, $params, true );

        $sizes = isset( $params['size'] ) ? explode( ',', $params['size'] ) : '';
        $indents = isset( $params['indent'] ) ? explode( ',', $params['indent'] ) : '';
        $dots = isset( $params['dots'] ) ? $params['dots'] : '';
        $contentText = isset( $params['contentText'] ) ? $params['contentText'] : ezpI18n::tr( 'lib/ezpdf/classes', 'Contents', 'Table of contents' );

        $this->insertTOC( $sizes, $indents, $dots, $contentText );
    }
function callTOC( $info )
    {
        $params = array();

        eZPDFTable::extractParameters( $info['p'], 0, $params, true );

        $sizes = isset( $params['size'] ) ? explode( ',', $params['size'] ) : '';
        $indents = isset( $params['indent'] ) ? explode( ',', $params['indent'] ) : '';
        $dots = isset( $params['dots'] ) ? $params['dots'] : '';
        $contentText = isset( $params['contentText'] ) ? $params['contentText'] : ezpI18n::tr( 'lib/ezpdf/classes', 'Contents', 'Table of contents' );

        $this->insertTOC( $sizes, $indents, $dots, $contentText );
    }
function callTOC ( $ info ) { $ params = array ( ) ; eZPDFTable :: extractParameters ( $ info [ 'p' ] , 0 , $ params , true ) ; $ sizes = isset ( $ params [ 'size' ] ) ? explode ( ',' , $ params [ 'size' ] ) : '' ; $ indents = isset ( $ params [ 'indent' ] ) ? explode ( ',' , $ params [ 'indent' ] ) : '' ; $ dots = isset ( $ params [ 'dots' ] ) ? $ params [ 'dots' ] : '' ; $ contentText = isset ( $ params [ 'contentText' ] ) ? $ params [ 'contentText' ] : ezpI18n :: tr ( 'lib/ezpdf/classes' , 'Contents' , 'Table of contents' ) ; $ this -> insertTOC ( $ sizes , $ indents , $ dots , $ contentText ) ; }
Callback function for inserting TOC
Callback function for inserting TOC