* Set the User object to use
*
* @param $u User object
+ * @since 1.18
*/
public function setUser( $u ) {
$this->mUser = $u;
* Get the User object used in this instance
*
* @return User
+ * @since 1.18
*/
public function getUser() {
if ( !isset($this->mUser) ) {
* Get the Skin object used to render this instance
*
* @return Skin
+ * @since 1.18
*/
public function getSkin() {
// For now we'll just proxy to the user. In the future a saner location for
* Get the WebRequest being used for this instance
*
* @return WebRequest
+ * @since 1.18
*/
public function getRequest() {
if ( !isset($this->mRequest) ) {
* Get the OutputPage being used for this instance
*
* @return OutputPage
+ * @since 1.18
*/
public function getOutput() {
if ( !isset($this->mOutput) ) {
* Shortcut to get the skin being used for this instance
*
* @return User
+ * @since 1.18
*/
public function getUser() {
return $this->getOutput()->getUser();
* Shortcut to get the skin being used for this instance
*
* @return Skin
+ * @since 1.18
*/
public function getSkin() {
return $this->getOutput()->getSkin();