skin
[ class tree: skin ] [ index: skin ] [ all elements ]

Class: ipbwi_skin

Source Location: /ipbwi/lib/skin.inc.php

Class Overview

ipbwi
   |
   --ipbwi_skin



Author(s):

  • Matthias Reuter ($LastChangedBy: matthias $)

Version:

  • $LastChangedDate: 2008-10-31 23:53:28 +0000 (Fr, 31 Okt 2008) $

Copyright:

  • 2007-2010 IPBWI development team

Variables

Methods


Inherited Constants

Inherited Variables

Inherited Methods

Class: ipbwi

ipbwi::addSystemMessage()
adds a system message
ipbwi::date()
Returns textual/timestamp offsetted date by board and by member offset and DST setting.
ipbwi::getBoardVar()
gets the requested board-var
ipbwi::getLibLang()
gets the language-var from actual requested native language-bit
ipbwi::makeSafe()
filtering html-strings, e.g. for db-queries
ipbwi::printSystemMessages()
prints system messages
ipbwi::properXHTML()
filtering HTML strings
ipbwi::setLang()
Set's current SDK language
ipbwi::sysInfo()
informations about the current IPBWI and PHP installation
ipbwi::__destruct()

Class Details

[line 11]


Tags:

author:  Matthias Reuter ($LastChangedBy: matthias $)
version:  $LastChangedDate: 2008-10-31 23:53:28 +0000 (Fr, 31 Okt 2008) $
copyright:  2007-2010 IPBWI development team
link:  http://ipbwi.com/examples/skin.php
since:  2.0
license:  GNU General Public License


[ Top ]


Class Variables

$emoURL =  false

[line 12]



Tags:

access:  public

Type:   mixed


[ Top ]



Class Methods


method css [line 109]

array css( )

Pulls and displays CSS from forums depending on user's skin.



Tags:

return:  stylesheet fields
author:  Matthias Reuter
since:  2.0
sample:  
  1.  $ipbwi->skin->css();
  2.  $ipbwi->skin->css(true,false);
access:  public


[ Top ]

method emoDir [line 83]

array emoDir( )

Gets emoticon directory of currently logged in user.



Tags:

return:  emoticon dir
author:  Matthias Reuter
since:  2.0
sample:  
  1.  $ipbwi->skin->info($skinID);
access:  public


[ Top ]

method getList [line 157]

array getList( )

Grabs the IDs of all the avaliable skins.



Tags:

return:  Skin IDs
author:  Matthias Reuter
since:  2.0
sample:  
  1.  $ipbwi->skin->getList();
access:  public


[ Top ]

method id [line 37]

int id( [int $memberID = false])

Returns the Skin ID of the skin used by a member.



Tags:

return:  Skin ID or false on failure
author:  Matthias Reuter
since:  2.0
sample:  
  1.  $ipbwi->skin->id($memberID);
access:  public


Parameters:

int   $memberID   Member ID. If Member ID is ommitted, the current User will be used.

[ Top ]

method info [line 61]

array info( int $skinID)

Gets information on a skin.



Tags:

return:  Information on Skin or false on failure
author:  Matthias Reuter
since:  2.0
sample:  
  1.  $ipbwi->skin->info($skinID);
access:  public


Parameters:

int   $skinID   ID of the Skin

[ Top ]

method set [line 178]

bool set( int $skinID, [int $memberID = false])

Changes the current user's skin.



Tags:

return:  true on success, otherwise false
author:  Matthias Reuter
since:  2.0
sample:  
  1.  $ipbwi->skin->set();
access:  public


Parameters:

int   $skinID   Skin ID
int   $memberID   Member ID. If Member ID is ommitted, the current User will be used.

[ Top ]


Documentation generated on Sat, 23 Oct 2010 23:36:11 +0200 by phpDocumentor 1.4.3