string css(
[bool
$return = false], [bool
$addTag = true]
)
|
|
Pulls and displays CSS from forums depending on user's skin.
Parameters:
|
bool |
$return: |
Whether to return CSS instead of sending it to the browser. Default: false |
|
bool |
$addTag: |
Whether to wrap the CSS with the html style-tag. Default: true |
API Tags:
| Return: | The Style sheet if $return was set, else true |
| Access: | public |
Information Tags:
Grabs the IDs of all the avaliable skins.
API Tags:
| Return: | Skin IDs |
| Access: | public |
Information Tags:
int id(
[int
$memberID = false]
)
|
|
Returns the Skin ID of the skin used by a member.
Parameters:
|
int |
$memberID: |
Member ID. If Member ID is ommitted, the current User will be used. |
API Tags:
| Return: | Skin ID or false on failure |
| Access: | public |
Information Tags:
array info(
int
$skinID
)
|
|
Gets information on a skin.
Parameters:
|
int |
$skinID: |
ID of the Skin |
API Tags:
| Return: | Information on Skin or false on failure |
| Access: | public |
Information Tags:
Redefinition of:
- ipbwi::info()
- informations about the current IPBWI and PHP installation
bool set(
int
$skinID, [int
$memberID = false]
)
|
|
Changes the current user's skin.
Parameters:
|
int |
$skinID: |
Skin ID |
|
int |
$memberID: |
Member ID. If Member ID is ommitted, the current User will be used. |
API Tags:
| Return: | true on success, otherwise false |
| Access: | public |
Information Tags: