addHeadItem() method
authorTim Starling <tstarling@users.mediawiki.org>
Sun, 29 Apr 2007 10:15:05 +0000 (10:15 +0000)
committerTim Starling <tstarling@users.mediawiki.org>
Sun, 29 Apr 2007 10:15:05 +0000 (10:15 +0000)
includes/OutputPage.php

index 96bd587..03e832a 100644 (file)
@@ -93,6 +93,9 @@ class OutputPage {
                return $s;
        }
 
+       function addHeadItem( $name, $value ) {
+               $this->mHeadItems[$name] = $value;
+       }
 
        function setETag($tag) { $this->mETag = $tag; }
        function setArticleBodyOnly($only) { $this->mArticleBodyOnly = $only; }