IBlock Interface Reference
Interface for Blcoks. More...
List of all
members.
Detailed Description
Interface for Blcoks.
If you are familiar with Drupal (http://drupal.org), the concept of blocks
is not new to you. A block represents a snipppet of HTML that is
grouped along with other blocks and placed in a location (left,
right, too..) on a page.
Most common use is to build dynamic site bars or footers.
- Author:
- Gerd Riesselmann
Definition at line 15 of file iblock.cls.php.
Member Function Documentation
IBlock::compare |
( |
$ |
other |
) |
|
Compare this block to another.
- Returns:
- int 0 if index of this is equal to other's index, -1 if this
index is less than and +1 if it is more than other's index
Implemented in BlockBase.
Get content of block (HTML).
- Returns:
- string
Implemented in BlockBase.
An index to sort blocks.
- Returns:
- integer
Implemented in BlockBase.
Name (used as CSS class).
- Returns:
- string
Implemented in BlockBase.
One of LEFT, RIGHT, CONTENT etc.
..
- Returns:
- string
Implemented in BlockBase.
Get title of block (heading).
- Returns:
- string
Implemented in BlockBase.
Returns true if this block is valid.
- Returns:
- boolean True if this block has content
Implemented in BlockBase.
IBlock::set_content |
( |
$ |
content |
) |
|
Set content of block (HTML).
- Parameters:
-
Implemented in BlockBase.
IBlock::set_index |
( |
$ |
index |
) |
|
Set index to sort blocks.
- Parameters:
-
Implemented in BlockBase.
IBlock::set_name |
( |
$ |
name |
) |
|
Sets Name (used as CSS class).
- Parameters:
-
Implemented in BlockBase.
IBlock::set_position |
( |
$ |
position |
) |
|
Set position.
- Parameters:
-
Implemented in BlockBase.
IBlock::set_title |
( |
$ |
title |
) |
|
Set title of block (heading).
- Parameters:
-
Implemented in BlockBase.
Member Data Documentation
The documentation for this interface was generated from the
following file: