/** * Adds a specified 'object' to the document * * $object int specifying an object created with {@link * CPDF_Adapter::open_object()}. $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 * * @see Cpdf::addObject() * * @param int $object * @param string $where */ function add_object($object, $where = 'all') { $this->_pdf->addObject($object, $where); }