Lines Matching refs:title
86 // separate parameter and title
87 // == -#n title == ; "#" is a parameter indicates number
88 // == - #n title == ; "#" is a placeholder of numbering label
97 list($number, $title) = array('', trim($text));
98 if (substr($title, 0, 1) == '#') {
99 // extra check of title
100 // == - # title == ; "#" is NOT numbering label
101 // == - #12 title == ; "#" is numbering label with number
102 // == - #12.3 title == ; "#" is NOT numbering label
103 $part = explode(' ', substr($title, 1), 2);
106 $title = trim($part[1]);
111 list($number, $title) = explode(' ', substr($text, 1), 2);
113 $title = trim($title);
119 $title = trim(substr($text, $closed + 1));
121 list($number, $title) = explode(' ', substr($text, 1), 2);
122 $title = trim($title);
128 if ($dash > 1 && substr($title, 0, 1) == '[' && substr($title, -1) == ']') {
129 $format = $title;
130 $title = null;
135 $data = compact('dash', 'level', 'number', 'title', 'format');