Index: trunk/phase3/CREDITS |
— | — | @@ -163,6 +163,7 @@ |
164 | 164 | * The Evil IP address |
165 | 165 | * Tisane |
166 | 166 | * Umherirrender |
| 167 | +* Van de Bugger |
167 | 168 | * Ville Stadista |
168 | 169 | * Vitaliy Filippov |
169 | 170 | * William Demchick |
Index: trunk/phase3/includes/parser/Preprocessor_DOM.php |
— | — | @@ -1339,6 +1339,15 @@ |
1340 | 1340 | function isTemplate() { |
1341 | 1341 | return false; |
1342 | 1342 | } |
| 1343 | + |
| 1344 | + /** |
| 1345 | + * Get a title of frame |
| 1346 | + * |
| 1347 | + * @return Title |
| 1348 | + */ |
| 1349 | + function getTitle() { |
| 1350 | + return $this->title; |
| 1351 | + } |
1343 | 1352 | } |
1344 | 1353 | |
1345 | 1354 | /** |
Index: trunk/phase3/includes/parser/Preprocessor.php |
— | — | @@ -27,7 +27,7 @@ |
28 | 28 | * Create a new custom frame for programmatic use of parameter replacement as used in some extensions |
29 | 29 | * |
30 | 30 | * @param $args array |
31 | | - * |
| 31 | + * |
32 | 32 | * @return PPFrame |
33 | 33 | */ |
34 | 34 | function newCustomFrame( $args ); |
— | — | @@ -44,7 +44,7 @@ |
45 | 45 | * |
46 | 46 | * @param $text |
47 | 47 | * @param $flags |
48 | | - * |
| 48 | + * |
49 | 49 | * @return PPNode |
50 | 50 | */ |
51 | 51 | function preprocessToObj( $text, $flags = 0 ); |
— | — | @@ -138,6 +138,13 @@ |
139 | 139 | * Return true if the frame is a template frame |
140 | 140 | */ |
141 | 141 | function isTemplate(); |
| 142 | + |
| 143 | + /** |
| 144 | + * Get a title of frame |
| 145 | + * |
| 146 | + * @return Title |
| 147 | + */ |
| 148 | + function getTitle(); |
142 | 149 | } |
143 | 150 | |
144 | 151 | /** |
Index: trunk/phase3/includes/parser/Preprocessor_Hash.php |
— | — | @@ -1268,6 +1268,15 @@ |
1269 | 1269 | function isTemplate() { |
1270 | 1270 | return false; |
1271 | 1271 | } |
| 1272 | + |
| 1273 | + /** |
| 1274 | + * Get a title of frame |
| 1275 | + * |
| 1276 | + * @return Title |
| 1277 | + */ |
| 1278 | + function getTitle() { |
| 1279 | + return $this->title; |
| 1280 | + } |
1272 | 1281 | } |
1273 | 1282 | |
1274 | 1283 | /** |
Index: trunk/phase3/includes/parser/Preprocessor_HipHop.hphp |
— | — | @@ -1008,7 +1008,6 @@ |
1009 | 1009 | */ |
1010 | 1010 | var $depth; |
1011 | 1011 | |
1012 | | - |
1013 | 1012 | /** |
1014 | 1013 | * Construct a new preprocessor frame. |
1015 | 1014 | * @param $preprocessor Preprocessor: the parent preprocessor |
— | — | @@ -1426,6 +1425,15 @@ |
1427 | 1426 | function isTemplate() { |
1428 | 1427 | return false; |
1429 | 1428 | } |
| 1429 | + |
| 1430 | + /** |
| 1431 | + * Get a title of frame |
| 1432 | + * |
| 1433 | + * @return Title |
| 1434 | + */ |
| 1435 | + function getTitle() { |
| 1436 | + return $this->title; |
| 1437 | + } |
1430 | 1438 | } |
1431 | 1439 | |
1432 | 1440 | /** |