public function loadData() { parent::loadData(); $items = RoItem::getObjects(array('i.online' => '1'), array('to' => 10)); $this->data = json_encode($items); }
public function __construct(array $row) { $this->_Params = array('char_id' => 'ID', 'name' => 'Name', 'shopname' => 'Shopname', 'name_url' => 'NameUrl'); parent::__construct($row); $this->NameUrl = RoItem::cleanName($this->Name); }
public function loadData() { // Items auslesen $this->items = RoItem::getObjects(array('i.hash' => $this->item->Hash), null, "i.online ASC, i.item_id ASC, i.price_one ASC"); parent::loadData(); }