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
24 $kv = $this->userProjects();
26 foreach($kv as $k=>$v) {
27 $ret[] = array('id'=>$k, 'name' => $v);
35 * Things that can change...
36 * - permission updates
42 $this->currentProject($id);
43 return $this->jok($this->currentProject());