/** * returns an array of all item objects */ function items() { if ($this->items === null) { $this->items = array(); $rows = $this->itemRows(); foreach ($rows as $row) { $this->items[$row['id']] = rsgItem::getCorrectItemObject($this, $row); } } return $this->items; }
function __construct($type, $mimetype, &$gallery, $row) { parent::__construct($type, $mimetype, $gallery, $row); $this->_determineResources(); }