Inheritance diagram for Album:

Public Member Functions | |
| Album ($source=null, $module=null) | |
| loadData () | |
| ID () | |
| attribute ($name) | |
| logo () | |
| thumbnail ($photo) | |
| photo ($photo) | |
| caption ($photo) | |
| visited ($photo) | |
| photoID ($photo) | |
| mergeVars () | |
Public Attributes | |
| prefix | |
| attributes | |
| photos | |
| thumbnails | |
| visited | |
| captions | |
| title | |
| logo | |
| _modulesrc | |
| _source | |
| _class | |
| _module | |
| _init | |
|
||||||||||||
|
Determines a correct album's data module by examining album data source.
Definition at line 71 of file Album.php. References generateModule(), and module. |
|
|
Returns wanted attribute
Definition at line 134 of file Album.php. Referenced by logo(). |
|
|
If photo has an caoption, this method can be used to return that caption.
|
|
|
Returns currect album's ID
Definition at line 123 of file Album.php. Referenced by logo(), photo(), and thumbnail(). |
|
|
Loads album's data If album module was successfully loaded, this method calls module's loadData-method and loads that way all album's datas. If module was not loaded, this method does nothing. Module must fill its variables correctly, because after module's loadData()-method was called, method calls mergeVars()-method to merge module's and $this variables, i.e. copies e.g. attributes from module to current object.
Definition at line 106 of file Album.php. References mergeVars(). |
|
|
Return HTML IMG tag to load album's logo.
Definition at line 144 of file Album.php. References attribute(), and ID(). |
|
|
This method merges all needed variables from album data module and current object.
Definition at line 228 of file Album.php. Referenced by loadData(). |
|
|
Return HTML IMG tag to display selected photo (resized version)
Definition at line 178 of file Album.php. References ID(). Referenced by Album_XML::loadData(), Album_gallery::loadData(), and thumbnail(). |
|
|
Return photo's ID from filename.
Definition at line 218 of file Album.php. Referenced by thumbnail(). |
|
|
Returns HTML IMG tag to display thumbnail of photo photo
|
|
|
Shows how many times photo has been viewed (and since when?)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 42 of file Album.php. Referenced by Album_XML::loadData(), and Album_gallery::loadData(). |
|
|
Definition at line 46 of file Album.php. Referenced by Album_XML::loadData(), and Album_gallery::loadData(). |
|
|
Definition at line 53 of file Album.php. Referenced by Album_gallery::loadData(). |
|
|
Definition at line 43 of file Album.php. Referenced by Album_XML::loadData(), and Album_gallery::loadData(). |
|
|
|
|
|
Definition at line 44 of file Album.php. Referenced by Album_XML::loadData(), and Album_gallery::loadData(). |
|
|
Definition at line 52 of file Album.php. Referenced by Album_gallery::loadData(). |
|
|
Definition at line 45 of file Album.php. Referenced by Album_gallery::loadData(). |
1.3