Full index

Package indexes


a c d e f g h i m p r s t u v
a
top
Method addError
miErrorsCollection::addError() in ErrorsCollection.inc
Adds error.
Method addFilter
Sets an array that hold the all filter parameters for the execution of the query.
Method addHiddenFilter
Sets an array that hold the hidden filter parameters for the execution of the query.
Method addMainUiElements
In this function subclasses will add specific elements to the main template page
Method addNavigatorParams
Adds navigator params to the navigator params already existing
Method addUiElements
In this function subclasses will add table specific processing
Method assign
miTemplateParser::assign() in TemplateParser.inc
Assigns a variable to be replaced
Method assign
miViewRecords::assign() in ViewRecords.inc
Assigns a value to a specify main page element
Method assignArray
miTemplateParser::assignArray() in TemplateParser.inc
Assigns a array of variables to be replaced
Method assignList
miTemplateParser::assignList() in TemplateParser.inc
Assigns a list of variables. Both array should have equal sizes, as counted by count() The first variable in the list is assigned the first value, the second variable, the seoncd value, and so on
Method assignNavigator
Assign Default Navigator
Method assignNavigator
In this function subclasses will add a specific Navigator
Method assignNavigator
Assign Simple Navigator
Method assignPosition
Calculates first and last positions for a page from the total recodrs
Page Auth.inc
Auth.inc in Auth.inc
c
top
Page Config.inc
Config.inc in Config.inc
Page CANProvinces.inc
CANProvinces.inc in CANProvinces.inc
Page Consts.inc
Consts.inc in Consts.inc
Page Countries.inc
Countries.inc in Countries.inc
d
top
Page DBUtilImpl.inc
DBUtilImpl.inc in DBUtilImpl.inc
Method dateValidator
Validates date set by user
Constant DB_HOST
DB_HOST in Config.inc
Constant DB_NAME
DB_NAME in Config.inc
Constant DB_PASS
DB_PASS in Config.inc
Constant DB_USER
DB_USER in Config.inc
Method decimalValidator
Validates decimal number set by user
Method delete
Delete a record in the table
Page DataManager.inc
DataManager.inc in DataManager.inc
e
top
Method emailValidator
Validates email set by user
Method execDelete
miDBUtilImpl::execDelete() in DBUtilImpl.inc
Executes a SQL delete query for a specify record key
Method execDelete
miStaticDBUtil::execDelete() in StaticDBUtil.inc
Executes a SQL delete query for a specify record key
Method execInsert
miStaticDBUtil::execInsert() in StaticDBUtil.inc
Executes a SQL insert query from an associative array.
Method execInsert
miDBUtilImpl::execInsert() in DBUtilImpl.inc
Executes a SQL insert query from an associative array.
Method execSelect
miDBUtilImpl::execSelect() in DBUtilImpl.inc
Returns an array with associative arrays from the result
Method execSelect
miStaticDBUtil::execSelect() in StaticDBUtil.inc
Returns an array with associative arrays from the result
Method execSelectGetFields
Returns an array with associative arrays from the result and sets an fills specify array with names of the fields.
Method execSelectGetFields
Returns an array with associative arrays from the result and sets an fills specify array with names of the fields.
Method execSQL
miDBUtilImpl::execSQL() in DBUtilImpl.inc
Executes a SQL query
Method execSQL
miStaticDBUtil::execSQL() in StaticDBUtil.inc
Executes a SQL query
Method execSQLInsert
Executes a SQL insert query
Method execSQLInsert
Executes a SQL insert query
Method execUpdate
miStaticDBUtil::execUpdate() in StaticDBUtil.inc
Executes a SQL update query from an array for a specify record key
Method execUpdate
miDBUtilImpl::execUpdate() in DBUtilImpl.inc
Executes a SQL update query from an array for a specify record key
Page en.inc
en.inc in en.inc
Page ErrorsCollection.inc
ErrorsCollection.inc in ErrorsCollection.inc
f
top
Constant FIELD_TYPE_CHECKBOX
FIELD_TYPE_CHECKBOX in DataManager.inc
Constant FIELD_TYPE_SELECTION
FIELD_TYPE_SELECTION in DataManager.inc
Constant FIELD_TYPE_TEXT
FIELD_TYPE_TEXT in DataManager.inc
g
top
Method get
miModelSQLRecord::get() in SQLRecord.inc
Return the value of the given field from the array which hold the data for the next execution or last executed query
Method get
miTemplateParser::get() in TemplateParser.inc
Retrieves an assigned variable value
Method getAllParams
Method getConstDropdown
Returns HTML code for a dropdown menu ("select" element) from a specify array
Method getCurrentDateTime
Return current date and time
Method getData
miDataManager::getData() in DataManager.inc
Get value for a specified field.
Method getDataFields
Return array that describes the output and input of each database field
Method getErrors
miErrorsCollection::getErrors() in ErrorsCollection.inc
Returns an array with all errors
Method getFields
Method getFiltersFromRequest
Gets all filter parameters from the request and return them as an array
Method getLastError
miErrorsCollection::getLastError() in ErrorsCollection.inc
Returns last error. If there aren't any errors returns false
Method getMainPageElements
Returns the main page elements
Method getNumErrors
miErrorsCollection::getNumErrors() in ErrorsCollection.inc
Returns the number of errors
Method getObject
miStaticDBUtil::getObject() in StaticDBUtil.inc
Return an object of class miDBUtilImpl or its subclasses
Method getPrimaryKeyColumn
Gets the primary key column of the table that this SQLRecord uses
Method getRecord
miDataManager::getRecord() in DataManager.inc
Return Object of class miModelSQLRecord or its subclasses which was set by setRecord method
Method getRecordLocatorParams
Gets the array of record locator params
Method getRecords
Read rows from a database table.
Method getRecordsByIndex
Read fixed number of rows from a given index in a database table.
Method getRecordsCount
Return the number of all rows in a database table that reply to the given filter clause
Method getRow
Return array which hold the data for the next execution or last executed query
Method getSqlOrderClause
Return the order clause
Method getStringNavigatorParams
Returns navigator parameters as a string. Also adds the ViewParams object params.
Method getTableFields
Returns an array with names of the fields for a specify table.
Method getTableFields
Returns an array with names of the fields for a specify table.
Method getTableName
Gets the table name of this SQLRecord
Method getViewParams
Gets the view params object
Method getViewRecords
Return Object of class miViewRecords or its subclasses which was set by setViewRecord method
Method gsmValidator
Validates gsm number set by user
Page GeneralOptionsRecord.inc
GeneralOptionsRecord.inc in GeneralOptionsRecord.inc
h
top
Method hasErrors
miErrorsCollection::hasErrors() in ErrorsCollection.inc
Returns true if there are any errors in this object
Method httpValidator
Validates URL address set by user
i
top
Method icqValidator
Validates ICQ number set by user
Method insert
Insert a record in the table
Method intValidator
Validates integer number set by user
Method ipValidator
Validates IP number
m
top
Page MySQL.inc
MySQL.inc in MySQL.inc
Method maxLengthValidator
Validates if the value set by user for a specify field is not exceed the maximum length for the field
Function miAddSystemError
miAddSystemError() in ErrorsCollection.inc
Object of class miErrorsCollection, which manages system errors.
Class miDataManager
miDataManager in DataManager.inc
Manage which page to show
Method miDataManager
Constructor
Method miDBUtilImpl
miDBUtilImpl constructor.
Class miDBUtilImpl
miDBUtilImpl in DBUtilImpl.inc
Implements functions for database
Class miDefaultRecordsetPager
miDefaultRecordsetPager in RecordsetPager.inc
Default Recordset Pager Class Manage the movement between pages when data is shown in table fomat
Class miErrorsCollection
miErrorsCollection in ErrorsCollection.inc
Keep errors which arise during script life
Function miGetParam
miGetParam() in Param.inc
Retrieves a param. First tryies from $_POST, and then $_GET. If the param is not found prints an error and terminates the application
Function miGetParamDefault
miGetParamDefault() in Param.inc
Retrieves a param or returns a default value.
Function miMkDirs
miMkDirs() in Util.inc
Attempts to create the directory specified by pathname, creating recursively all needed parent directories.
Method miModelGeneralOptionsRecord
miModelGeneralOptionsRecord constructor. It takes three parameters - table name, property field and field value
Class miModelGeneralOptionsRecord
miModelGeneralOptionsRecord in GeneralOptionsRecord.inc
Handle and manage deleting and reading of data from the database.
Class miModelSQLRecord
miModelSQLRecord in SQLRecord.inc
Handle and manage the inserting, updating, deleting and reading of data from the database. This class works only with one record row specify by a table primary key or unique field.
Method miModelSQLRecord
miModelSQLRecord constructor. It takes two parameters table name and table primary key
Class miModelSQLRecordset
miModelSQLRecordset in SQLRecordset.inc
Handle and manage the reading of data from database.
Method miModelSQLRecordset
miModelSQLRecordset constructor. It takes one parameter - table name
Method minLengthValidator
Validates if the value set by user for a specify field is exceed the minimum length for the field
Constant MIPHPF_VERSION
MIPHPF_VERSION in Consts.inc
Class miRecordsetPager
miRecordsetPager in RecordsetPager.inc
Recordset Pager Class Manage the movement between pages when data is shown in table fomat
Function miSendEmail
miSendEmail() in Util.inc
Mails the message specified in $text to the receiver specified in $to
Class miSimpleRecordsetPager
miSimpleRecordsetPager in RecordsetPager.inc
Default Recordset Pager Class Manage the movement between pages when data is shown in table fomat
Class miStaticDBUtil
miStaticDBUtil in StaticDBUtil.inc
Implements functions for database
Class miTemplateParser
miTemplateParser in TemplateParser.inc
Parses templates
Class miUIUtil
miUIUtil in UIUtil.inc
Offer same often used user interface functions
Class miViewParams
miViewParams in ViewParams.inc
Manages the assigning of various params that are shared between miViewRecords and miDataManager
Method miViewRecords
miViewRecords constructor. It takes one parameter - object of class miModelSQLRecordset or its subclasses
Class miViewRecords
miViewRecords in ViewRecords.inc
Manage the representation in table format of data, which is readed from miModelSQLRecordset object
Constant MI_DEFAULT_LANGUAGE
MI_DEFAULT_LANGUAGE in Config.inc
Constant MI_DISPLAY_DATE_FORMAT
Constant MI_DISPLAY_TIME_FORMAT
Constant MI_DM_GENERATED
MI_DM_GENERATED in DataManager.inc
Constant MI_DM_PAGE_CREATE
MI_DM_PAGE_CREATE in DataManager.inc
Constant MI_DM_PAGE_EDIT
MI_DM_PAGE_EDIT in DataManager.inc
Constant MI_DM_READONLY
MI_DM_READONLY in DataManager.inc
Constant MI_ERRORLEVEL_CRITICAL
Constant MI_ERRORLEVEL_DEBUG
MI_ERRORLEVEL_DEBUG in Consts.inc
Constant MI_ERRORLEVEL_NOTICE
MI_ERRORLEVEL_NOTICE in Consts.inc
Constant MI_ERRORLEVEL_USER
MI_ERRORLEVEL_USER in Consts.inc
Constant MI_ERRORLEVEL_WARNING
MI_ERRORLEVEL_WARNING in Consts.inc
Constant MI_FILTER_CONDITION_SUFIX
Constant MI_FILTER_NAME_SUFIX
MI_FILTER_NAME_SUFIX in Consts.inc
Constant MI_LOCALIZATION_FILE
MI_LOCALIZATION_FILE in Config.inc
Constant MI_MYSQL_DATETIME_FORMAT
Constant MI_MYSQL_DATE_FORMAT
MI_MYSQL_DATE_FORMAT in Consts.inc
Constant MI_PARAM_MESSAGE
MI_PARAM_MESSAGE in Consts.inc
Constant MI_PARAM_PAGE
MI_PARAM_PAGE in Consts.inc
Constant MI_PARAM_SORTBY
MI_PARAM_SORTBY in Consts.inc
Constant MI_PARAM_SORTDIR
MI_PARAM_SORTDIR in Consts.inc
Constant MI_RECORDS_PER_PAGE
MI_RECORDS_PER_PAGE in Config.inc
Constant MI_SESSION_NAME
MI_SESSION_NAME in Consts.inc
Constant MI_SYSTEMERROR_CONNECTDB
Constant MI_SYSTEMERROR_DBFINDRECORD
Constant MI_SYSTEMERROR_DBQUERY
Constant MI_SYSTEMERROR_SELECTDB
Constant MI_SYSTEMERROR_UKNOWNFILTER
Constant MI_SYSTEMERROR_UKNOWNFILTEROPERATION
Constant MI_TEMPLATE_BASEDIR
MI_TEMPLATE_BASEDIR in Consts.inc
p
top
Page PostgreSQL.inc
PostgreSQL.inc in PostgreSQL.inc
Method Parse
miViewRecords::Parse() in ViewRecords.inc
Parse data in template files.
Method pconnect
miDBUtilImpl::pconnect() in DBUtilImpl.inc
Connects to a SQL database
Method process
miDataManager::process() in DataManager.inc
Determines which page will be shown or which operation will proceed, depending on the value of the "action" parameter from the request.
Page Param.inc
Param.inc in Param.inc
r
top
Method read
miModelSQLRecord::read() in SQLRecord.inc
Read a record from a database table where specify unique field represented by $key is equal to the value represented by $value
Method readPK
miModelGeneralOptionsRecord::readPK() in GeneralOptionsRecord.inc
Read a record from a database table for a specify primary key value
Method readPK
Read a record from a database table for a specify primary key value
Method redirectToList
Redirects the browser to the list of items.
Page RecordsetPager.inc
RecordsetPager.inc in RecordsetPager.inc
s
top
Page StaticDBUtil.inc
StaticDBUtil.inc in StaticDBUtil.inc
Page SQLRecordset.inc
SQLRecordset.inc in SQLRecordset.inc
Page SQLRecord.inc
SQLRecord.inc in SQLRecord.inc
Method set
miModelSQLRecord::set() in SQLRecord.inc
Sets a value to the given field to the array which hold the data for the next execution or last executed query
Method setDataFields
Sets array that describes the output and input of each database field
Method setMainPageElements
Sets main page elements
Method setMainPageElements
Sets main page elements
Method setMainPageElements
Sets main page elements
Method setOrder
Sets the field by which the result of the query will be ordered and the direction of ordering - ascending or descending.
Method setPage
miViewRecords::setPage() in ViewRecords.inc
Sets the current page to show and the number of records per page
Method setPager
miViewRecords::setPager() in ViewRecords.inc
Sets Object of class miDefaultRecordsetPager or its subclasses.
Method setRecord
miDataManager::setRecord() in DataManager.inc
Sets object of class miModelSQLRecord or its subclasses.
Method setRecordLocatorParams
Sets the record locator params. They are used to forward params from top level to sub-level data managers
Method setRecordsLimit
Sets how many rows to be read from the databse
Method setRecordsPerPage
Sets how many rows to show in each page when data is shown in table format
Method setRow
Sets array which hold the data for the next execution or last executed query
Method setViewParams
Sets the view params object
Method setViewRecords
Sets Object of class miViewRecords or its subclasses.
Method Show
miViewRecords::Show() in ViewRecords.inc
Shows page with data in table format.
Method ShowPage
miViewRecords::ShowPage() in ViewRecords.inc
Shows specify page
Function sql_connect
sql_connect() in MySQL.inc
Function sql_error
sql_error() in MySQL.inc
Function sql_escape_string
sql_escape_string() in MySQL.inc
Function sql_fetch_assoc
sql_fetch_assoc() in MySQL.inc
Function sql_field_name
sql_field_name() in MySQL.inc
Function sql_free_result
sql_free_result() in MySQL.inc
Function sql_insert_id
sql_insert_id() in MySQL.inc
Function sql_list_fields
sql_list_fields() in MySQL.inc
Function sql_num_fields
sql_num_fields() in MySQL.inc
Function sql_query
sql_query() in MySQL.inc
Function sql_select_db
sql_select_db() in MySQL.inc
Method stringTemplateParse
Parses the contents param as a string, $iter times, and returns the result
t
top
Method templateAdd
miTemplateParser::templateAdd() in TemplateParser.inc
Adds a template to the list of templates
Method templateParse
miTemplateParser::templateParse() in TemplateParser.inc
Parses the template(s) and returns the result
Method templateSetAlternating
Sets alternating style of template parsing. It will repeat the template given $iter times, alternating between the first and second template with each row
Method templateSetCallback
Sets a custom template chaning scheme. The callback function will be called with the number of the row, and this template parser object, and it should return the template content as a string
Method templateSetNormal
Sets normal style of template parsing. It will repeat the template given $iter times
Method templateShow
miTemplateParser::templateShow() in TemplateParser.inc
Shows the parsed template
Method transposeRows
Transposes the $rows array from array of hashes into a hash of arrays. All values are escaped with htmlentities(), except the values for keys starting with HTML_
Page TemplateParser.inc
TemplateParser.inc in TemplateParser.inc
u
top
Page USStates.inc
USStates.inc in USStates.inc
Constant UNAUTHORIZED_MSG
UNAUTHORIZED_MSG in Config.inc
Method uniqueValidator
Validates value for matchless in DB
Method update
Update a record in the table
Method update
miModelGeneralOptionsRecord::update() in GeneralOptionsRecord.inc
Update a record in the table
Page Util.inc
Util.inc in Util.inc
Page UIUtil.inc
UIUtil.inc in UIUtil.inc
v
top
Page ViewParams.inc
ViewParams.inc in ViewParams.inc
Page ViewRecords.inc
ViewRecords.inc in ViewRecords.inc
a c d e f g h i m p r s t u v