5 * public facing.. listing projects..
6 * and selecting active project..
8 * GET -> list of projects
9 * POST -> set active project..
14 require_once 'MTrackWeb.php';
16 class MTrackWeb_Projects extends MTrackWeb
19 //function getAuth-- inherit
22 function get($pi='') {
25 $kv = $this->userProjects();
27 foreach($kv as $k=>$v) {
28 $ret[] = array('id'=>$k, 'name' => $v);
36 * Things that can change...
37 * - permission updates
43 $this->currentProject($id);
44 return $this->jok($this->currentProject());