Ejemplo n.º 1
0
 function listing($offset = 0)
 {
     parent::listing($offset);
     foreach ($this->_data['items'] as &$item) {
         $updated = array();
         $this->_model()->status($item['id'], $updated);
         foreach ($updated as $key => $value) {
             $item[$key] = $value;
         }
     }
 }
Ejemplo n.º 2
0
 function listing($offset = 0)
 {
     parent::listing($offset);
     $tags = $this->_model()->user_tag();
     $this->_data['tag_options'] = array('' => l('(Please select)'));
     foreach ($tags as $tag) {
         $this->_data['tag_options'][$tag['id']] = $tag['name'];
     }
 }