[ Index ]

PHP Cross Reference of Akelos Framework

title

Body

[close]

/utils/generators/service/ -> USAGE (source)

   1  Description:
   2      The service generator creates stubs for a new Web Service resource.
   3  
   4      The generator takes the name of an existing API definition as its argument.  
   5      The API name may be given in CamelCase or under_score and should not be 
   6      suffixed with 'API'.
   7  
   8      The generator creates a service class in app/models.
   9  
  10  Example:
  11      >> generate service Todo
  12  
  13      This will read the API settings from:
  14          app/apis/todo_api.php
  15          
  16      This will create an Account model:
  17          Service Model:      app/models/todo_service.php


Generated: Mon Oct 27 12:43:49 2008 Cross-referenced by PHPXref 0.6