summaryrefslogtreecommitdiff
path: root/includes/parser/Preprocessor.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/parser/Preprocessor.php')
-rw-r--r--includes/parser/Preprocessor.php11
1 files changed, 9 insertions, 2 deletions
diff --git a/includes/parser/Preprocessor.php b/includes/parser/Preprocessor.php
index d6328aa7..ae088fdb 100644
--- a/includes/parser/Preprocessor.php
+++ b/includes/parser/Preprocessor.php
@@ -27,7 +27,7 @@ interface Preprocessor {
* Create a new custom frame for programmatic use of parameter replacement as used in some extensions
*
* @param $args array
- *
+ *
* @return PPFrame
*/
function newCustomFrame( $args );
@@ -44,7 +44,7 @@ interface Preprocessor {
*
* @param $text
* @param $flags
- *
+ *
* @return PPNode
*/
function preprocessToObj( $text, $flags = 0 );
@@ -138,6 +138,13 @@ interface PPFrame {
* Return true if the frame is a template frame
*/
function isTemplate();
+
+ /**
+ * Get a title of frame
+ *
+ * @return Title
+ */
+ function getTitle();
}
/**