2 if(class_exists('Item'))
5 require_once('include/text.php');
11 private $data = array();
13 public function __construct($data) {
24 public function get_id() {
25 if(!x($this->data['id'])) {
26 logger('[ERROR] Item::get_id : Item has no ID!!', LOGGER_DEBUG);
30 return $this->data['id'];
34 * Get data in a form usable by a conversation template
37 * _ The data requested on success
40 public function get_template_data() {
51 * We shouldn't need this
53 public function get_data() {