/lenasys/trunk

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/lenasys/trunk

« back to all changes in this revision

Viewing changes to codeigniter/application/models/admin/admin_model.php

  • Committer: Gustav Hatvigsson
  • Date: 2013-05-24 11:34:09 UTC
  • mfrom: (85.1.8 lenasys)
  • Revision ID: gustav.hartvigsson@gmail.com-20130524113409-ziz4w8atorizo93n
Merged Ohlson:s changes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
76
76
        }
77
77
 
78
78
        function getCategories($cid) {
 
79
                $this->db->order_by("orderNr", "asc");
79
80
                $query = $this->db->get_where('Categories', array("courseID" => $cid));
80
81
                return $query->result();
81
82
        }