Changes between Version 10 and Version 11 of BossaReference


Ignore:
Timestamp:
Jul 18, 2008, 9:56:14 PM (16 years ago)
Author:
davea
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BossaReference

    v10 v11  
    136136
    137137Return a string summarizing the app data for a user.
     138
     139== API for application functions ==
     140
     141The interface of "job" objects is
     142
     143{{{
     144mixed get_info()
     145array get_instances()
     146array get_finished_instances()
     147bool set_priority(float $priority [int $level]}
     148bool update_state(int $state)
     149}}}
     150
     151The interface of "instance" objects is:
     152
     153{{{
     154bool set_priority(float $priority)
     155bool update_info(mixed $app_data)
     156}}}
     157
     158"User" objects are accessed by first obtaining an object $user->bossa.
     159The interface of the resulting object is:
     160
     161{{{
     162mixed get_info()
     163bool update_info(mixed $app_data)
     164bool set_level(int $level)
     165}}}