|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
client_entity
Client part support for Article System.
Abstract class for client entity.
Constructor Summary | |
client_entity(var $a_ent,
var $a_ima)
|
Method Summary | |
unknown |
get_by(var $col,
var $val,
var $what,
var $where)
Return entity data of entity specified by given column name and it's value. |
unknown |
get_image_assignment(var $id,
var $ident)
Return entity-assigned image id (assignment data). |
unknown |
get_image_link(var $id,
var $ident,
var $bonus,
var $abonus)
Return entity specific image tag as a link, if available. |
unknown |
get_image_tag(var $id,
var $ident,
var $bonus)
Return entity specific image tag. |
unknown |
get_image(var $id,
var $ident)
Return entity-assigned image data. |
unknown |
select_box(var $name,
var $cval,
var $ctext,
var $selected_value,
var $begin_options,
var $end_options,
var $attributes)
Duplicite with admin site (db_entity)! A HTML form select box renderer. Creates a select box based on the results of previous DB query. |
Constructor Detail |
public client_entity(var $a_ent, var $a_ima)
$a_ent
- is passed by reference$a_ima
- is passed by referenceMethod Detail |
public unknown get_by(var $col, var $val, var $what, var $where)
*
by default.$col
- Name of the column which $val is data from.$val
- Value to specify the wanted group.$what
- Columns to return.$where
- Query restrictions.$what
- Default Value: "*"$where
- Default Value: ""public unknown get_image(var $id, var $ident)
$id
- Entity id.public unknown get_image_assignment(var $id, var $ident)
$id
- Entity id.public unknown get_image_tag(var $id, var $ident, var $bonus)
$id
- Entity id.$ident
- Textual identificator.$bonus
- Additional image properties.$bonus
- Default Value: ''public unknown get_image_link(var $id, var $ident, var $bonus, var $abonus)
$id
- Entity id.$ident
- Textual identificator.$bonus
- Additional image properties.$abonus
- Additional anchor tag properties.$bonus
- Default Value: ''$abonus
- Default Value: ''public unknown select_box(var $name, var $cval, var $ctext, var $selected_value, var $begin_options, var $end_options, var $attributes)
$name
- Name of the select form item.$cval
- Name of column or index to the query result, to be used as option's value="".$ctext
- Name of column or index to the query result, to be used as option's label (text to display).$selected_value
- TODO: ..$begin_options
- Default Value: ""$end_options
- Default Value: ""$attributes
- Default Value: ""
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |