/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/filetree.php

  • Committer: Gustav Hatvigsson
  • Date: 2013-05-31 06:54:35 UTC
  • mfrom: (85.1.32 lenasys)
  • Revision ID: gustav.hartvigsson@gmail.com-20130531065435-gsi9nf8iusmc6t0p
Merged ohlson:s changes:

added copyright information

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
                 function getCategories($activeCourse) {
8
8
                        $this -> db -> select('categoryName');
9
9
                        $this -> db -> from('Categories'); 
10
 
                        $this -> db -> where('courseID', $activeCourse); 
 
10
                        $this -> db -> where('courseID', $activeCourse);
 
11
                        $this -> db -> order_by('orderNr');
11
12
 
12
13
                        $query = $this -> db -> get();
13
14
                        return $query->result();