Lines Matching refs:this
17 $this->parent = &$parent;
18 $this->attrs = $data['attrs'];
21 $this->textNode = new TextNode(['marks' => $data['marks'] ?? null], $parent, $previousNode);
27 if (!empty($this->attrs['title'])) {
28 $title = '|' . $this->attrs['title'];
33 if (!empty($this->attrs['align'])) {
34 if ($this->attrs['align'] === 'left') {
36 } elseif ($this->attrs['align'] === 'right') {
38 } elseif ($this->attrs['align'] === 'center') {
45 if (!empty($this->attrs['height'])) {
46 $query[] = $this->attrs['width'] . 'x' . $this->attrs['height'];
47 } elseif (!empty($this->attrs['width'])) {
48 $query[] = $this->attrs['width'];
50 if (!empty($this->attrs['linking']) && $this->attrs['linking'] !== 'details') {
51 $query[] = $this->attrs['linking'];
53 if (!empty($this->attrs['cache']) && $this->attrs['cache'] !== 'cache') {
54 $query[] = $this->attrs['cache'];
63 return '{{' . $leftAlign . $this->attrs['id'] . $queryString . $rightAlign . $title . '}}';
175 return $this->textNode->increaseMark($markType);
180 return $this->textNode->getStartingNodeMarkScore($markType);