~fabiocbalbuquerque/sahana-agasti/web-services

« back to all changes in this revision

Viewing changes to apps/frontend/lib/packages/agWebservicesPackage/modules/agWebservices/actions/actions.class.php

  • Committer: Clayton Kramer
  • Date: 2011-07-26 18:12:28 UTC
  • mto: (1.26.1 push-trunk)
  • mto: This revision was merged to the branch mainline in revision 25.
  • Revision ID: clayton.kramer@mail.cuny.edu-20110726181228-ldpybh717xkhuq25
Added event facilities export to webservices

Show diffs side-by-side

added added

removed removed

Lines of Context:
46
46
    $method = 'get'.ucfirst($this->type);
47
47
    $this->results = agWebservicesHelper::$method();
48
48
  }
 
49
  
 
50
  
 
51
    public function executeGetevent(sfWebRequest $request)
 
52
  {
 
53
    $this->getRoute()->getObjects();
 
54
    $this->type = $request->getParameter('datapoint');
 
55
    $method = 'get'.ucfirst($this->type);
 
56
    $this->results = agWebservicesHelper::$method($request->getParameter('event'));
 
57
  }
49
58
 
50
59
}
 
 
b'\\ No newline at end of file'