apartment Class Reference

Inheritance diagram for apartment:

guild

Public Member Functions

 __construct ($gid, $name, $id_icon)
 getUrl ()
 resumeName ()
 getSmallIcon ($px_size)
 getHtml ()

Data Fields

 $id
 <string> Ryzom id (cid, gid, ...)
 $name
 <string> Name
 $money
 <int> Nb dapper
 $nbItems
 <int> Nb item

Constructor & Destructor Documentation

__construct ( gid,
name,
id_icon 
)

Reimplemented in guild.


Member Function Documentation

getHtml (  ) 

getSmallIcon ( px_size  ) 

Give the Guild Icon. The result is better with a icon smaller than the 's' Ryzom size.

Parameters:
px_size <id> Size (height/width) in pixel
Returns:
the tag img of the Icon

Reimplemented in guild.

getUrl (  ) 

The picutures size must have the 's' Ryzom size (32x32).

Returns:
the url of the Icon

Reimplemented in guild.

resumeName (  ) 


Field Documentation

$id

<string> Ryzom id (cid, gid, ...)

$money

<int> Nb dapper

$name

<string> Name

$nbItems

<int> Nb item


The documentation for this class was generated from the following file:

Generated on Wed Sep 30 22:21:29 2009 for Flunker by  doxygen 1.5.9