Index

(imglist)

o2imglist_def

o2_ctrl_imglist o2imglist_def(string $name, array $items, integer $width, integer $height, string $act_activate, string $act_delete)

Defines an images lister control in the current program.
$items can be an array of items to fill-up images lister on creation. Array is in the form:
array($item1_id => array($image_url, $text_code),
$item2_id => array($image_url, $text_code),
...,
$itemN_id => array($image_url, $text_code))


Parameters:
  1. $name
  2. Control unique name
  3. $items
  4. Images list array
  5. $width
  6. Items width
  7. $height
  8. Items height
  9. $act_activate
  10. Program action to be executed on click on item
  11. $act_delete
  12. Program action to be executed on click on remove icon