Lines Matching refs:templates
22 * Data of all created templates.
26 protected $templates = [];
104 if (!isset($this->templates[$tpl])) {
118 $template = $this->templates[$tpl];
154 if (!isset($this->templates[$tpl])) {
159 $width = $this->templates[$tpl]['width'];
160 $height = $this->templates[$tpl]['height'];
162 $width = $height * $this->templates[$tpl]['width'] / $this->templates[$tpl]['height'];
166 $height = $width * $this->templates[$tpl]['height'] / $this->templates[$tpl]['width'];
221 $this->templates[$templateId] = [
274 $template = $this->templates[$templateId];
416 foreach ($this->templates as $key => $template) {
418 $this->templates[$key]['objectNumber'] = $this->n;
448 foreach ($this->templates as $key => $template) {
461 $this->templates[$this->currentTemplateId]['buffer'] .= $s . "\n";