Skip to content

SYSTEM SAI saimod_sys_git

Ulf Gebhardt edited this page Jul 25, 2017 · 4 revisions

SYSTEM\SAI\saimod_sys_git

saimod_sys_git Class provided by System as saimod to display git information on the project and system

Methods

sai_mod__SYSTEM_SAI_saimod_sys_git

string SYSTEM\SAI\saimod_sys_git::sai_mod__SYSTEM_SAI_saimod_sys_git()

Generate the HTML for the Saimods startpage

  • Visibility: public
  • This method is static.

getGitInfo

array SYSTEM\SAI\saimod_sys_git::getGitInfo()

Read Git Information

  • Visibility: public
  • This method is static.

html_li_menu

string SYSTEM\SAI\SaiModule::html_li_menu()

Generate the

  • menu for the Saimod Override this

    right_public

    boolean SYSTEM\SAI\SaiModule::right_public()
    

    Check public state for the Saimod.

    Override this

    right_right

    boolean SYSTEM\SAI\SaiModule::right_right()
    

    Check rights for the Saimod.

    Override this

    get_apigroup

    integer SYSTEM\API\api_default_interface::get_apigroup()
    

    API Group function - implement this function and return the Groupnumber

    get_default_state

    string SYSTEM\API\api_default_interface::get_default_state()
    

    API Default State function - implement this function and return the String of the default-state

    get_class

    string SYSTEM\API\api_default::get_class()
    

    API Class function - implement this function and return the Classname

    get_params

    array SYSTEM\SAI\SaiModule::get_params(array $params)
    

    Fixes Classnames for sai postfield

    Arguments

    • $params array - <p>Params to be corrected</p>

    default_page

    string SYSTEM\API\api_default_interface::default_page(string $_escaped_fragment_)
    

    API Default Page function - implement this function and return the Default Page

    Arguments

    • $escaped_fragment string - <p>Fragment from Hashbang Crawling</p>

    static__escaped_fragment_

    string SYSTEM\API\api_default::static__escaped_fragment_(string $_escaped_fragment_)
    

    Static Call handler for Hashbang-Crawling Requests

    Arguments

    • $escaped_fragment string - <p>Hashbang-Encoded State</p>

    call_cron

    \SYSTEM\API\JSON SYSTEM\API\api_system::call_cron()
    

    System run Cron Call

    call_text

    \SYSTEM\API\JSON SYSTEM\API\api_system::call_text(mixed $request, \SYSTEM\API\lang $lang)
    

    System Text Request Call

    Arguments

    • $request mixed - <p>Request String for Text API</p>
    • $lang SYSTEM\API\lang - <p>Request Language for given text</p>

    call_files

    mixed SYSTEM\API\api_system::call_files(string $cat, string $id)
    

    System File Request Call

    Arguments

    • $cat string - <p>File category</p>
    • $id string - <p>File name</p>

    call_pages

    mixed SYSTEM\API\api_system::call_pages(integer $group, string $state)
    

    System State-Pages Request Call

    Arguments

    • $group integer - <p>Page Group for Statesystem</p>
    • $state string - <p>Full name of the State.</p>

    static__lang

    null SYSTEM\API\api_system::static__lang(\SYSTEM\API\lang $lang)
    

    Static Call to change Language for the current Session/User

    Arguments

    • $lang SYSTEM\API\lang - <p>Language requested</p>

    static__result

    null SYSTEM\API\api_system::static__result(\SYSTEM\API\result $result)
    

    Static Call to change Result-Type for the current Session/User

    Arguments

    • $result SYSTEM\API\result - <p>Resulttype</p>

    static__

    null SYSTEM\API\api_system::static__(mixed $_)
    

    Static Time-Parameter _ Call to avoid caching and API Errors for JS requests

    Arguments

    • $_ mixed - <p>Anticaching Parameter of some Browsers</p>

    call_bug

    null SYSTEM\API\api_system::call_bug(string $message, \SYSTEM\API\JSON $data)
    

    API Bug Call to report Bugs

    Arguments

    • $message string - <p>Bugreport Message</p>
    • $data SYSTEM\API\JSON - <p>Bugreport Data</p>

    call_cache

    mixed SYSTEM\API\api_system::call_cache(integer $id, \SYSTEM\API\sha1 $ident)
    

    API Cache Call to request cached Data (usually js and css)

    Arguments

    • $id integer - <p>Cache id to be queried</p>
    • $ident SYSTEM\API\sha1 - <p>Cache ident to be queried</p>

    call_account_action_login

    \SYSTEM\API\JSON SYSTEM\API\api_login::call_account_action_login(string $username, \SYSTEM\API\sha1 $password_sha1, \SYSTEM\API\lang $locale)
    

    System Account Login

    Arguments

    • $username string - <p>Username</p>
    • $password_sha1 SYSTEM\API\sha1 - <p>User Password SHA1 String</p>
    • $locale SYSTEM\API\lang - <p>Locale which the User wants to login with</p>

    call_account_action_logout

    \SYSTEM\API\JSON SYSTEM\API\api_login::call_account_action_logout()
    

    System Account Logout

    call_account_action_isloggedin

    \SYSTEM\API\JSON SYSTEM\API\api_login::call_account_action_isloggedin()
    

    System Account isloggedin check

    call_account_action_check

    \SYSTEM\API\JSON SYSTEM\API\api_login::call_account_action_check(integer $rightid)
    

    System Account Right Check

    Arguments

    • $rightid integer - <p>RightID of the right to be checked</p>

    call_account_action_create

    \SYSTEM\API\JSON SYSTEM\API\api_login::call_account_action_create(string $username, \SYSTEM\API\sha1 $password_sha1, \SYSTEM\API\email $email, \SYSTEM\API\lang $locale)
    

    System Account Create

    Arguments

    • $username string - <p>Username</p>
    • $password_sha1 SYSTEM\API\sha1 - <p>User Password SHA1 String</p>
    • $email SYSTEM\API\email - <p>Email of the new User</p>
    • $locale SYSTEM\API\lang - <p>Locale which the User wants to register or null for default language</p>

    call_account_action_confirm_email

    \SYSTEM\API\JSON SYSTEM\API\api_login::call_account_action_confirm_email()
    

    System Account Request Confirm EMail Token

    call_account_action_confirm

    \SYSTEM\API\JSON SYSTEM\API\api_login::call_account_action_confirm(string $token)
    

    System Account Confirm Tokens

    Arguments

    • $token string - <p>Token to do specifics with your Account</p>

    call_account_action_reset_password

    \SYSTEM\API\JSON SYSTEM\API\api_login::call_account_action_reset_password(string $username)
    

    System Account Request Reset Password Token

    Arguments

    • $username string - <p>Username</p>

    call_account_action_change_password

    \SYSTEM\API\JSON SYSTEM\API\api_login::call_account_action_change_password(string $old_password_sha1, string $new_password_sha1)
    

    System Account Change Password

    Arguments

    • $old_password_sha1 string - <p>Users Old Password SHA1 String</p>
    • $new_password_sha1 string - <p>Users New Password SHA1 String</p>

    call_account_action_change_email

    \SYSTEM\API\JSON SYSTEM\API\api_login::call_account_action_change_email(string $new_email)
    

    System Account Request Change EMail Token

    Arguments

    • $new_email string - <p>Users new EMail Address</p>
  • Clone this wiki locally