Functions

replace_maccro

replace_maccro($matches) This function is an internal function to replace maccro values

package

AIR\controllers\AppIntegrator

Arguments

$matches

string

Response

string

« More »

staff_sorting

staff_sorting ($a, $b)

This is a sortin function

package

AIR\controllers\accesslog_controller

Arguments

$a

array

$b

array

« More »

Classes, interfaces and traits

Access_gridview

Manually Developed CI View

This is the main view file of accesslog which generates the grid

« More »

Access_log_gridfeed

Manually Developed CI View

This is the main view file of accesslog which generates the grid

« More »

Access_log_wb_intro

Manually Developed CI View

This is the main view file of accesslog grid wb file

« More »

Access_wb

Manually Developed CI View

This is the main view file of accesslog grid wb file

« More »

Accesslog_controller

Manually Developed CI Controller

Usage :- Give how to use this script

    1) function index
    2) function view
    3) function get_xml
    4) function accesslogreport_details
    5) function accessReport
« More »

Accesslogdetail_gridview

Manually Developed CI View

This is to view grid view of acces log details

« More »

Accesslogdetail_wb

Manually Developed CI View

This is to view grid view of acces log details in wb

« More »

Accesslogreport_gridview

Manually Developed CI View

This is to view accesslog as gridview report

« More »

Accesslogreport_wb

Manually Developed CI View

This is to view access log report wb

« More »

Add_new_app_form

Manually Developed CI View

This is to view grid view of acces log details

« More »

Ai_dropdown

Manually Developed CI View

This is to view AIR listing dropdown

« More »

AI_gridfeed

Manually Developed CI View

This is to the grid feed for AIR listing

« More »

AI_WB

Manually Developed CI View

This is the main file of AIR WB

« More »

AppIntegrator

Manually Developed CI Controller

This controller facilitates the access of table countries

Usage:-

     function index()
     function AppIntegrator_wb()
     function key_validate(), Validates key entries
     function delete()
     function createDropdown()
     function is_name_uniqe(), Checks uniqness of a given name
     function edit(), Prepares edit form for a given record
     function save(), Saves add/edit form data
     function addForm(), Prepares add form to add new record
     function replace_para_maccro(), Replaces parameter maccro values with values
     function crosscheck_uaacs_functions(), Crossches with supplied function ids and user ids
     function prepare_xml_feed_functions(), Prepares functions obtaind from xml feed
     function prepare_function_paras(), Prepares function pars obtaind from xml feed
     function prepare_qstring_builder(), Prepares querystring builder popup
« More »

AppIntegrator_model

This model file maintains tables of application integration informations

Functions available :-

    function __construct() - class constructor
    function exists() - checks for existing primary key
    function getArray() - gets table header array
    function getHeader() - gets record column information
    function get_data() - gets recrdset
    function set_query() - sets query to quiry the table
    function count_data() - counts the record set
    function save() - saves submitted data
    function delete() - deletes records
    function getMetadata() - gets table column information
    function get_app_data() - gets application data from db

Creation date :- Jun 5, 2014 Last Modified on :- Last Modification :-

« More »

Applications_model

This model file maintains tables of application informations

Functions available :-

    function __construct() - class constructor
    function exists() - checks for existing primary key
    function get_app_data() - gets application data from db
« More »

AppRegistrar

Manually Developed CI Controller

This controller facilitates the access of table countries

Usage:-

    function index(), default index funtion to list all AIR entries
    function validate_remote_host(), To validate remote host
    function validate_app(), To validate application
    function get_uaacs_feed_by_app_id(), To get uaacs application feed by app id
    function get_calling_app_name(), To get calling app name
    function issueToken(), To issue token
    function generateToken(), To generate token for issuing
    function get_called_app_function_id(), To get called application function id
        function getTimeStamp(), To get time stamp
        function getHostIP(), To get host IP
        function getUserId(), To get user id
        function getRandomString(), To get random string
        function getAppId(), To get app id
        function verify_token(), To verify given token
        function verify_user_access(), To verify user access
    function verify_permission(), To verify permission
    function verify_role(), To verify role
    function view_log(), To view log
    function get_user_ip(), To get user ip
    function get_jason(), To get json
    function get_related_links(), To get related AIR links
    function createDropdown(), To get dropdown listing with AIR linkagse
    function set_called_app_name(), To set caled application name
    function get_called_app_name(), To get caled application name
« More »

Edit_ai_form

Manually Developed CI View

This is AIR entry edit form

« More »

Error_response

Manually Developed CI View

This is to display AIR error responces as xml feed

« More »

Home

Manually Developed CI Controller

This controller facilitates the access of table countries

Usage:-

    function __construct(), default funtion to init uaacs vars
« More »

Home_view

Manually Developed CI View

This is main home page for AIR app

« More »

Js_css_loader

Manually Developed CI View

This file contains necessary JS, CSS file to run AIR

« More »

Token_request_response

Manually Developed CI View

This is to output an XML feed with token information

« More »

Token_verify_response

Manually Developed CI View

This is to view responce token verification data as XML feed

« More »

Tokens_model

This model file maintains tables of application informations

Functions available :-

    function __construct() - class constructor
    function exists() - checks for existing primary key
    function save_token_data() - saves generated token data
    function get_uaacs_data() - gets app uaacs data for a given token
« More »

Uaacs_authentication

A class to incorporate UAACS into any new application.

IMPORTANT :- For logging out, a post var named "UAACS_logout" should be used with value "YES".

USAGE :-

      $uaacs = new Uaacs_authentication ;
      $uaacs->setLandingPage('http://bizydads.com/channa/portman/clientportfolio.php');
      $uaacs->setAccessKey('j2ghjlzivj8u');
      $uaacs->setSecurityKey('844c1cf009c169d456f5e22f4f3eb737') ;
      $uaacs->setAppId(58) ;
      $uaacs->setRoleId(456) ;
      //Following are optional
      $uaacs->setLogoutUrl('http://UAACS.kindersigns.org/API/logout.php');
      $uaacs->setLgnCheckUrl('http://UAACS.kindersigns.org/API/loginCheck.php');
      $uaacs->authenticate();
      $functions = $uaacs->getAllowedFunctions() ;  //An array
      $myRoles = $uaacs->getAllowedRoles();         //An array
      $roleId = $uaacs->getActiveRole();
      $data = $uaacs->getUserData();                //simpleXMLObject

      da: 28da7d
    dev sec key: 85d3c6ee8affbff
    ACK : yd064wqrbr9
    AS; : eec12d7215ad20eeb1cb4a7eabc9ba47
« More »

Uaacs_feed

Manually Developed CI View

This is to display UAACS app information for given application id

« More »