saimod_sys_todo Class provided by System as saimod to manage the system_todo, system_todo_assign table
| package |
SYSTEM\SAI |
|---|
call_account_action_change_email(string $new_email) : \SYSTEM\API\JSON
stringUsers new EMail Address
\SYSTEM\API\JSONReturns JSON result with success/failure status
call_account_action_change_password(string $old_password_sha1, string $new_password_sha1) : \SYSTEM\API\JSON
stringUsers Old Password SHA1 String
stringUsers New Password SHA1 String
\SYSTEM\API\JSONReturns JSON result with success/failure status
call_account_action_check(integer $rightid) : \SYSTEM\API\JSON
integerRightID of the right to be checked
\SYSTEM\API\JSONReturns JSON result with success/failure status
call_account_action_confirm(string $token) : \SYSTEM\API\JSON
stringToken to do specifics with your Account
\SYSTEM\API\JSONReturns JSON result with success/failure status
call_account_action_confirm_email() : \SYSTEM\API\JSON
\SYSTEM\API\JSONReturns JSON result with success/failure status
call_account_action_create(string $username, \SYSTEM\API\sha1 $password_sha1, \SYSTEM\API\email $email, \SYSTEM\API\lang $locale = null) : \SYSTEM\API\JSON
stringUsername
\SYSTEM\API\sha1User Password SHA1 String
\SYSTEM\API\emailEmail of the new User
\SYSTEM\API\langLocale which the User wants to register or null for default language
\SYSTEM\API\JSONReturns JSON result with success/failure status
call_account_action_isloggedin() : \SYSTEM\API\JSON
\SYSTEM\API\JSONReturns JSON result with success/failure status
call_account_action_login(string $username, \SYSTEM\API\sha1 $password_sha1, \SYSTEM\API\lang $locale = null) : \SYSTEM\API\JSON
stringUsername
\SYSTEM\API\sha1User Password SHA1 String
\SYSTEM\API\langLocale which the User wants to login with
\SYSTEM\API\JSONReturns JSON result with success/failure status
call_account_action_logout() : \SYSTEM\API\JSON
\SYSTEM\API\JSONReturns JSON result with success/failure status
call_account_action_reset_password(string $username) : \SYSTEM\API\JSON
stringUsername
\SYSTEM\API\JSONReturns JSON result with success/failure status
call_bug(string $message, \SYSTEM\API\JSON $data) : null
stringBugreport Message
\SYSTEM\API\JSONBugreport Data
nullReturns JSON result with success/failure status
call_cache(integer $id, \SYSTEM\API\sha1 $ident) : mixed
integerCache id to be queried
\SYSTEM\API\sha1Cache ident to be queried
mixedReturns cached Data from Database
call_cron() : \SYSTEM\API\JSON
\SYSTEM\API\JSONReturns JSON result with success/failure status
call_files(string $cat, string $id = null) : mixed
stringFile category
stringFile name
mixedReturns JSON result with failure status or streams the File
call_pages(integer $group, string $state) : mixed
integerPage Group for Statesystem
stringFull name of the State.
mixedReturns JSON result with data/failure status
call_text(mixed $request, \SYSTEM\API\lang $lang) : \SYSTEM\API\JSON
mixedRequest String for Text API
\SYSTEM\API\langRequest Language for given text
\SYSTEM\API\JSONReturns JSON result with data/failure status
check_stats(string $stats) : boolean
stringClassname of the todo_stats
booleanReturns true or false.
default_page(string $_escaped_fragment_ = null) : string
stringParam for Hashbangcrawling
stringReturns HTML of the defaultpage
exception(\Exception $E, boolean $thrown, integer $type = \SYSTEM\SQL\system_todo::FIELD_TYPE_EXCEPTION) : boolean
\ExceptionException to be saved
booleanWas the Exception thrown?
integerType of the Todo(Exception)
booleanReturns false
generate_list(integer $state, string $filter, string $search, integer $page) : string
integerTodo State
stringCategory Filter
stringSearch Parameter
integerPage Number (returns only 100)
stringReturns HTML
get_apigroup() : integer
integerReturns api group id.
get_class() : string
stringReturns your API-Class name
get_default_state() : string
stringReturns name of the startstate.
get_params(array $params) : array
arrayParams to be corrected
arrayReturns array of corrected Params.
js() : array
arrayReturns array of Pathobjects pointing to the saimods js
register(string $stats) : null
stringClassname of the todo_stats
nullReturns null.
report(string $message, \SYSTEM\SAI\array/JSON $data) : \SYSTEM\SAI\JSON
stringMessage of the Report
\SYSTEM\SAI\array/JSONData for the Report
\SYSTEM\SAI\JSONReturns json with status true
right_public() : boolean
Override this
booleanReturns true if the saimod is public
right_right() : boolean
Override this
booleanReturns true if accessable for the user else false
sai_mod__SYSTEM_SAI_saimod_sys_todo() : string
stringReturns HTML for the Saimods startpage
sai_mod__SYSTEM_SAI_saimod_sys_todo_action_add(string $todo) : \SYSTEM\SAI\JSON
stringtext of the Todo
\SYSTEM\SAI\JSONReturns Json with status ok
sai_mod__SYSTEM_SAI_saimod_sys_todo_action_assign(integer $todo) : \SYSTEM\SAI\JSON
integerId of the Todo
\SYSTEM\SAI\JSONReturns Json with status ok
sai_mod__SYSTEM_SAI_saimod_sys_todo_action_close(integer $todo) : \SYSTEM\SAI\JSON
integerId of the Todo
\SYSTEM\SAI\JSONReturns Json with status ok
sai_mod__SYSTEM_SAI_saimod_sys_todo_action_close_all() : \SYSTEM\SAI\JSON
\SYSTEM\SAI\JSONReturns Json with status ok
sai_mod__SYSTEM_SAI_saimod_sys_todo_action_deassign(integer $todo) : \SYSTEM\SAI\JSON
integerId of the Todo
\SYSTEM\SAI\JSONReturns Json with status ok
sai_mod__SYSTEM_SAI_saimod_sys_todo_action_dotolist(string $filter = 'all', string $search = '%', integer $page) : string
stringCategory Filter
stringSearch Parameter
integerPage Number (returns only 100)
stringReturns HTML
sai_mod__SYSTEM_SAI_saimod_sys_todo_action_edit(integer $todo, string $message) : \SYSTEM\SAI\JSON
integerId of the Todo
stringMessage for the Todo
\SYSTEM\SAI\JSONReturns Json with status ok
sai_mod__SYSTEM_SAI_saimod_sys_todo_action_new() : string
stringReturns HTML
sai_mod__SYSTEM_SAI_saimod_sys_todo_action_open(integer $todo) : \SYSTEM\SAI\JSON
integerId of the Todo
\SYSTEM\SAI\JSONReturns Json with status ok
sai_mod__SYSTEM_SAI_saimod_sys_todo_action_priority_down(integer $todo) : \SYSTEM\SAI\JSON
integerId of the Todo
\SYSTEM\SAI\JSONReturns Json with status ok
sai_mod__SYSTEM_SAI_saimod_sys_todo_action_priority_up(integer $todo) : \SYSTEM\SAI\JSON
integerId of the Todo
\SYSTEM\SAI\JSONReturns Json with status ok
sai_mod__SYSTEM_SAI_saimod_sys_todo_action_stats() : string
stringReturns HTML
sai_mod__SYSTEM_SAI_saimod_sys_todo_action_stats_name_assigned(string $filter) : \SYSTEM\SAI\JSON
stringFilter for the Calculation
\SYSTEM\SAI\JSONReturns Json with stats data
sai_mod__SYSTEM_SAI_saimod_sys_todo_action_stats_name_closed(string $filter) : \SYSTEM\SAI\JSON
stringFilter for the Calculation
\SYSTEM\SAI\JSONReturns Json with stats data
sai_mod__SYSTEM_SAI_saimod_sys_todo_action_todo(integer $todo) : string
integerId of the Todo
stringReturns HTML
sai_mod__SYSTEM_SAI_saimod_sys_todo_action_todolist(string $filter = 'all', string $search = '%', integer $page) : string
stringCategory Filter
stringSearch Parameter
integerPage Number (returns only 100)
stringReturns HTML
state(integer $state) : string
integerState of the Todo
stringReturns open or closed string
statebtn(integer $state) : string
integerState of the Todo
stringReturns the HTML of the open clase buttons
static__(mixed $_) : null
mixedAnticaching Parameter of some Browsers
nullReturns nothing
static__escaped_fragment_(string $_escaped_fragment_) : string
stringHashbang-Encoded State
stringReturns your API-HTML result as HTML-Snapshot
static__lang(\SYSTEM\API\lang $lang) : null
\SYSTEM\API\langLanguage requested
nullReturns nothing
static__result(\SYSTEM\API\result $result) : null
\SYSTEM\API\resultResulttype
nullReturns nothing
statistics() : array
arrayReturns array with todo stats
trclass(integer $type, string $class, integer $assignee, integer $userid) : string
integerType of the Todo
stringClass of the Todo
integerUserid of the assigned for this Todo
integerUserid of the Current logged in User
stringReturns the HTML of the open clase buttons
stats :