return $this->mTitle;
}
+ /**
+ * @param $o OutputPage
+ */
+ public function setOutput( OutputPage $o ) {
+ $this->mOutput = $o;
+ }
+
/**
* Get the OutputPage object
*
* @return string
*/
public function __get( $name ) {
+ wfDeprecated( 'RequestContext::__get() is deprecated; use $context->getFoo() instead' );
if ( in_array( $name, array( 'request', 'title', 'output', 'user', 'lang', 'skin' ) ) ) {
$fname = 'get' . ucfirst( $name );
return $this->$fname();
* @return string
*/
public function __set( $name, $value ) {
+ wfDeprecated( 'RequestContext::__set() is deprecated; use $context->setFoo() instead' );
if ( in_array( $name, array( 'request', 'title', 'output', 'user', 'lang', 'skin' ) ) ) {
$fname = 'set' . ucfirst( $name );
return $this->$fname( $value );