Overview

Classes

  • Ws_logged_inModel
  • Ws_permissionsModel
  • Ws_role_permModel
  • Ws_rolesModel
  • Ws_user_roleModel
  • Ws_userModel
  • WsAuth
  • WsauthController
  • WsChart
  • WsConfig
  • WsController
  • WsDatabase
  • WsForm
  • WsImage
  • WsLocalize
  • WsModel
  • WsModelForm
  • WsModelGridView
  • WsUrl

Functions

  • __autoload
  • callHook
  • WsErrorHandler
  • Overview
  • Class

Overview

Classes summary
Ws_logged_inModel

Ws_userModel Store records of current logged in users.

Ws_permissionsModel

Ws_permissionsModel Stores permission name records for role based access control module.

Ws_role_permModel

Ws_role_permModel Store connections role=>permission for role based access control module.

Ws_rolesModel

Ws_rolesModel Store role name recods for role based access control module.

Ws_user_roleModel

Ws_user_roleModel Store conecction user=>role for role based access control module.

Ws_userModel

Ws_userModel Store user records for role based access control module.

WsAuth

WsAuth Base class for user authentication.

WsauthController

WsAuthController Controller for WsAuth module. It contains next views:

WsChart

WsChart Is class for drawing animated and interactive charts. It uses Chart.js in the background.

WsConfig

WsConfig Sets or fetch config variables. Good practice is to define all default config variables in 'protected/config/config.php' file.

WsController

WsController Is controller part of Model-View-Controller. WsController manages a set of actions which deal with the corresponding user requests. Through the actions, WsController coordinates the data flow between models and views.

WsDatabase

WsDatabase Is base class for working with database objects in Webiness framework. It handles connection to database server and exeecution of SQL commands.

WsForm

WsForm Generates HTML form and form widgets.

WsImage

WsImage Provides simple interface for working with images using GD library.

WsLocalize

WsLocalize Translates strings in application to specific language. Create language text file in "lang" directory. Language file is in JSON format. For example: create "lang/hr.txt" file for croatian translations, with example content:

{
     'message string':'prva poruka',
     'message string2':'druga poruka'
}
WsModel

WsModel Is model part of Model-View-Controller. WsModel is the base class providing the common features needed by data model objects.

WsModelForm WsModelForm generates HTML form for working with WsModel records.
WsModelGridView

WsModelGridView Displays a list of data items in terms of a table. Each row of the table represents the data of a single data item, and a column usually represents an attribute of the item. WsModelGridView supports both CRUD and pagination of the data items.

WsUrl

WsUrl Constructs URLs.

Functions summary
__autoload autoload all neded classes from framework and web application
callHook
WsErrorHandler
API documentation generated by ApiGen