Lines Matching defs:title
153 'title' => $text,
169 if (!isset($this->meta['title'])) {
170 $this->meta['title'] = $text;
496 // add link title to summary
603 * @param string $title descriptive text
612 $title = null,
619 if ($this->capture && $title) {
620 $this->doc .= '[' . $title . ']';
630 * @param string $title descriptive text
639 $title = null,
646 if ($this->capture && $title) {
647 $this->doc .= '[' . $title . ']';
700 * Construct a title and handle images in titles
702 * @param string|array|null $title either string title or media array
703 * @param string $default default title if nothing else is found
704 * @param null|string $id linked page id (used to extract title from first heading)
705 * @return string title text
708 public function _getLinkTitle($title, $default, $id = null)
710 if (is_array($title)) {
711 if ($title['title']) {
712 return '[' . $title['title'] . ']';
716 } elseif (is_null($title) || trim($title) == '') {
725 return $title;