Lines Matching refs:title
26 * @param string $title descriptive text
34 public function _media($src, $title = null, $align = null, $width = null,
41 // first get the $title
42 if(!is_null($title)) {
43 $title = $this->_xmlEntities($title);
50 $title = $this->_xmlEntities($cap);
55 // return the title of the picture
56 if($title === null || $title === "") {
58 $title = $this->_xmlEntities(\dokuwiki\Utf8\PhpString::basename(noNS($src)));
60 return $title;
66 if($title) {
67 $ret .= ' title="'.$title.'"';
68 $ret .= ' alt="'.$title.'"';
82 // first get the $title
83 $title = !is_null($title) ? $title : false;
86 // return the title of the file (just the sourcename if there is no title)
87 return $this->_xmlEntities($title ? $title : \dokuwiki\Utf8\PhpString::basename(noNS($src)));
92 if($title) {
93 $att['title'] = $title;
108 // return the title of the flash
109 if(!$title) {
111 $title = \dokuwiki\Utf8\PhpString::basename(noNS($src));
113 return $this->_xmlEntities($title);
125 $this->_xmlEntities($title)
127 } elseif($title) {
128 // well at least we have a title to display
129 $ret .= $this->_xmlEntities($title);