|
|
|
File: /home/inri/public_html/daCode-HEAD/daCode/src/phplib/sidebox.php3
daCode -
Sidebox
Sidebox
This Class will host all the sidebox
|
private class Sidebox
This Class will host all the sidebox
If you wanna commit a new sidebox, do it here
daCode http://www.dacode.org/
src/phplib/sidebox.php3
$Id: sidebox.php3,v 1.103 2002/05/13 21:34:03 jbcombes Exp $
Depends: Config Db Html Cache Redirect
|
| |
|
|
|
Private Field Summary |
| object Db |
$dbDatabase abstraction layer |
| object HTML |
$htmlHTML rendering package |
| object Redirect |
$redirectRedirect handling insrtance |
| object Cache |
$cacheCache abstraction layer |
|
Public Method Details |
Sidebox |
|
public void Sidebox( )
|
| |
Class constructor
|
| Returns |
void |
|
dacode |
|
public string dacode( )
|
| |
Returns a box with all the section inside
This is usually used as first box
|
| Returns |
string |
|
topics |
|
public string topics( )
|
| |
This is to show the topics box on the left
|
| Returns |
string list of topics |
|
local_links |
|
public string local_links( )
|
| |
We use this box to put local links
|
| Returns |
string box with local links |
|
edito |
|
public string edito( )
|
| |
This is called edito and will be the first box on the right
|
| Returns |
string |
|
lastconnected |
|
public string lastconnected( [ integer $nb ] )
|
| |
This is to show the last people connected
|
| Parameter |
|
| integer |
$nb |
= >>10<< |
|
of users to show |
|
| Returns |
string |
|
searchbox |
|
public string searchbox( [ integer $box, string $size ] )
|
| |
Search box
|
| Parameter |
|
| integer |
$box |
= >>1<< |
|
1, puts search form in a box |
|
|
| string |
$size |
= >>"20"<< |
|
of the input field |
|
| Returns |
string the form |
|
|
Private Field Details |
$db |
|
private object Db $db
>><<
Database abstraction layer
|
|
$html |
|
private object HTML $html
>><<
HTML rendering package
|
|
$redirect |
|
private object Redirect $redirect
>><<
Redirect handling insrtance
|
|
$cache |
|
private object Cache $cache
>><<
Cache abstraction layer
|
|
|
|
|
|
| PHPDoc 1.0beta |