[ Index ] |
|
Code source de XOOPS 2.0.17.1 |
[Code source] [Imprimer] [Statistiques]
(pas de description)
Author: | Kazumi Ono <onokazu@xoops.org> |
Copyright: | copyright (c) 2000 XOOPS.org |
Poids: | 334 lignes (14 kb) |
Inclus ou requis: | 0 fois |
Référencé: | 0 fois |
Nécessite: | 0 fichiers |
XoopsBlock:: (3 méthodes):
XoopsBlock()
getContent()
getOptions()
XoopsBlockHandler:: (6 méthodes):
create()
get()
insert()
delete()
getObjects()
getList()
Classe: XoopsBlock - X-Ref
A blockXoopsBlock($id = null) X-Ref |
constructor param: mixed $id |
getContent($format = 'S', $c_type = 'T') X-Ref |
return the content of the block for output param: string $format param: string $c_type type of content<br> return: string content for output |
getOptions() X-Ref |
(HTML-) form for setting the options of the block return: string HTML for the form, FALSE if not defined for this block |
Classe: XoopsBlockHandler - X-Ref
XOOPS block handler class. (Singelton)create($isNew = true) X-Ref |
create a new block param: bool $isNew is the new block new?? return: object XoopsBlock reference to the new block |
get($id) X-Ref |
retrieve a specific {@link XoopsBlock} param: int $id bid of the block to retrieve return: object XoopsBlock reference to the block |
insert(&$block) X-Ref |
write a new block into the database param: object XoopsBlock $block reference to the block to insert return: bool TRUE if succesful |
delete(&$block) X-Ref |
delete a block from the database param: object XoopsBlock $block reference to the block to delete return: bool TRUE if succesful |
getObjects($criteria = null, $id_as_key = false) X-Ref |
retrieve array of {@link XoopsBlock}s meeting certain conditions param: object $criteria {@link CriteriaElement} with conditions for the blocks param: bool $id_as_key should the blocks' bid be the key for the returned array? return: array {@link XoopsBlock}s matching the conditions |
getList($criteria = null) X-Ref |
get a list of blocks matchich certain conditions param: string $criteria conditions to match return: array array of blocks matching the conditions |
Généré le : Sun Nov 25 11:44:32 2007 | par Balluche grâce à PHPXref 0.7 |
![]() |