src/Thujohn/Pdf/dompdf/include/pdflib_adapter.cls.php
function add_object($object, $where = 'all') {

    if ( mb_strpos($where, "next") !== false ) {
      $this->_objs[$object]["start_page"]++;
      $where = str_replace("next", "", $where);
      if ( $where == "" )
        $where = "add";
    }

    $this->_objs[$object]["where"] = $where;
  }
function add_object($object, $where = 'all') {

    if ( mb_strpos($where, "next") !== false ) {
      $this->_objs[$object]["start_page"]++;
      $where = str_replace("next", "", $where);
      if ( $where == "" )
        $where = "add";
    }

    $this->_objs[$object]["where"] = $where;
  }
function add_object ( $ object , $ where = 'all' ) { if ( mb_strpos ( $ where , "next" ) !== false ) { $ this -> _objs [ $ object ] [ "start_page" ] ++ ; $ where = str_replace ( "next" , "" , $ where ) ; if ( $ where == "" ) $ where = "add" ; } $ this -> _objs [ $ object ] [ "where" ] = $ where ; }
Adds the specified object to the document

$where can be one of:
- 'add' add to current page only
- 'all' add to every page from the current one onwards
- 'odd' add to all odd numbered pages from now on
- 'even' add to all even numbered pages from now on
- 'next' add the object to the next page only
- 'nextodd' add to all odd numbered pages from the next one
- 'nexteven' add to all even numbered pages from the next one

@param int $object the object handle returned by open_object()
@param string $where
Adds the specified object to the document