Lines Matching defs:id
64 * The current reader id.
102 foreach ($readers as $id) {
103 $this->readers[$id]->getParser()->getStreamReader()->cleanUp();
104 unset($this->readers[$id]);
141 * Get an unique reader id by the $file parameter.
150 $id = (string) $file;
152 $id = \realpath($file);
153 if ($id === false) {
154 $id = $file;
157 $id = \spl_object_hash($file);
165 if (isset($this->readers[$id])) {
166 return $id;
173 $this->createdReaders[] = $id;
180 $this->readers[$id] = $reader;
182 return $id;
186 * Get a pdf reader instance by its id.
188 * @param string $id
191 protected function getPdfReader($id)
193 if (isset($this->readers[$id])) {
194 return $this->readers[$id];
198 \sprintf('No pdf reader with the given id (%s) exists.', $id)
376 'id' => 'TPL' . $this->getNextTemplateId(),
391 * @param mixed $pageId The page id
433 $importedPage['id']
446 * @param mixed $tpl The template id