Issue Details (XML | Word | Printable)

Key: MDL-13128
Type: Sub-task Sub-task
Status: In Progress In Progress
Priority: Minor Minor
Assignee: Jordi Piguillem Poch
Reporter: Martin Dougiamas
Votes: 0
Watchers: 4
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Moodle
MDL-20806

get_courses

Created: 24/Jan/08 02:58 PM   Updated: 11/Nov/09 11:11 AM
Return to search
Component/s: Administration
Affects Version/s: 1.9
Fix Version/s: None

Participants: David Castro, Jordi Piguillem Poch and Martin Dougiamas
Security Level: None
Resolved date: 14/Oct/08
Affected Branches: MOODLE_19_STABLE


 Description  « Hide
Get one or more courses according to several criteria

 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Ludo ( Marc Alier) made changes - 28/Jun/08 11:20 PM
Field Original Value New Value
Assignee Martin Dougiamas [ dougiamas ] David Castro [ dcastro ]
Jordi Piguillem Poch added a comment - 10/Jul/08 03:55 PM
Some more PHPDoc:

/**

  • Get a course from the course table
  • @private ?
  • @param string $field
  • Possible values:
  • <ul>
  • <li>id</li>
  • <li>name</li>
  • <li>idnumber</li>
  • <li>shortname</li>
  • </ul>
  • @param string $value
  • @return course Return a course record
    */
    function get_course($field, $value){

}

/**

  • Get some courses from the course table
  • @param string $field
  • Possible values:
  • <ul>
  • <li>id</li>
  • <li>name</li>
  • <li>idnumber</li>
  • <li>shortname</li>
  • </ul>
  • @param array $values
  • @return array Returns an array of course records
    */
    function get_courses($field,$values){
    }

Jordi Piguillem Poch added a comment - 10/Jul/08 03:59 PM
What is a COURSE? Course table record? Something to remove or add?

Adding URL to the course to this object would be a great idea.


David Castro made changes - 08/Oct/08 12:29 AM
Status Open [ 1 ] In Progress [ 3 ]
David Castro added a comment - 08/Oct/08 12:31 AM
This funcionality is completed in CVS.
We have commit a simpletest.

David Castro made changes - 08/Oct/08 12:31 AM
Status In Progress [ 3 ] Closed [ 6 ]
Resolution Fixed [ 1 ]
Ludo ( Marc Alier) made changes - 13/Oct/08 02:57 PM
Resolution Fixed [ 1 ]
Status Closed [ 6 ] Reopened [ 4 ]
David Castro added a comment - 14/Oct/08 01:00 AM
The params of this functionality has changed.
There are more information returned in this operation.

David Castro made changes - 14/Oct/08 01:00 AM
Status Reopened [ 4 ] Resolved [ 5 ]
Resolution Fixed [ 1 ]
Ludo ( Marc Alier) made changes - 06/Nov/08 07:27 PM
Resolution Fixed [ 1 ]
Status Resolved [ 5 ] Reopened [ 4 ]
Jordi Piguillem Poch made changes - 05/Feb/09 11:33 PM
Assignee David Castro [ dcastro ] Jordi Piguillem Poch [ pigui ]
Jordi Piguillem Poch made changes - 05/Feb/09 11:34 PM
Status Reopened [ 4 ] In Progress [ 3 ]
Jerome Mouneyrac made changes - 11/Nov/09 11:11 AM
Parent Issue MDL-12886 [ MDL-12886 ] MDL-20806 [ MDL-20806 ]