-
addError
-
Adds error.
-
addFilter
-
Sets an array that hold the all filter parameters for the execution of the query.
-
addHiddenFilter
-
Sets an array that hold the hidden filter parameters for the execution of the query.
-
addMainUiElements
-
In this function subclasses will add specific elements to the main template page
-
addNavigatorParams
-
Adds navigator params to the navigator params already existing
-
addUiElements
-
In this function subclasses will add table specific processing
-
assign
-
Assigns a variable to be replaced
-
assign
-
Assigns a value to a specify main page element
-
assignArray
-
Assigns a array of variables to be replaced
-
assignList
-
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
-
assignNavigator
-
Assign Default Navigator
-
assignNavigator
-
In this function subclasses will add a specific Navigator
-
assignNavigator
-
Assign Simple Navigator
-
assignPosition
-
Calculates first and last positions for a page from the total recodrs
-
Auth.inc
-
-
emailValidator
-
Validates email set by user
-
execDelete
-
Executes a SQL delete query for a specify record key
-
execDelete
-
Executes a SQL delete query for a specify record key
-
execInsert
-
Executes a SQL insert query from an associative array.
-
execInsert
-
Executes a SQL insert query from an associative array.
-
execSelect
-
Returns an array with associative arrays from the result
-
execSelect
-
Returns an array with associative arrays from the result
-
execSelectGetFields
-
Returns an array with associative arrays from the result and sets an fills specify array with names of the fields.
-
execSelectGetFields
-
Returns an array with associative arrays from the result and sets an fills specify array with names of the fields.
-
execSQL
-
Executes a SQL query
-
execSQL
-
Executes a SQL query
-
execSQLInsert
-
Executes a SQL insert query
-
execSQLInsert
-
Executes a SQL insert query
-
execUpdate
-
Executes a SQL update query from an array for a specify record key
-
execUpdate
-
Executes a SQL update query from an array for a specify record key
-
en.inc
-
-
ErrorsCollection.inc
-
-
get
-
Return the value of the given field from the array which hold the data for the next execution or last executed query
-
get
-
Retrieves an assigned variable value
-
getAllParams
-
-
getConstDropdown
-
Returns HTML code for a dropdown menu ("select" element) from a specify array
-
getCurrentDateTime
-
Return current date and time
-
getData
-
Get value for a specified field.
-
getDataFields
-
Return array that describes the output and input of each database field
-
getErrors
-
Returns an array with all errors
-
getFields
-
-
getFiltersFromRequest
-
Gets all filter parameters from the request and return them as an array
-
getLastError
-
Returns last error. If there aren't any errors returns false
-
getMainPageElements
-
Returns the main page elements
-
getNumErrors
-
Returns the number of errors
-
getObject
-
Return an object of class miDBUtilImpl or its subclasses
-
getPrimaryKeyColumn
-
Gets the primary key column of the table that this SQLRecord uses
-
getRecord
-
Return Object of class miModelSQLRecord or its subclasses which was set by setRecord method
-
getRecordLocatorParams
-
Gets the array of record locator params
-
getRecords
-
Read rows from a database table.
-
getRecordsByIndex
-
Read fixed number of rows from a given index in a database table.
-
getRecordsCount
-
Return the number of all rows in a database table that reply to the given filter clause
-
getRow
-
Return array which hold the data for the next execution or last executed query
-
getSqlOrderClause
-
Return the order clause
-
getStringNavigatorParams
-
Returns navigator parameters as a string. Also adds the ViewParams object params.
-
getTableFields
-
Returns an array with names of the fields for a specify table.
-
getTableFields
-
Returns an array with names of the fields for a specify table.
-
getTableName
-
Gets the table name of this SQLRecord
-
getViewParams
-
Gets the view params object
-
getViewRecords
-
Return Object of class miViewRecords or its subclasses which was set by setViewRecord method
-
gsmValidator
-
Validates gsm number set by user
-
GeneralOptionsRecord.inc
-
-
MySQL.inc
-
-
maxLengthValidator
-
Validates if the value set by user for a specify field is not exceed the maximum length for the field
-
miAddSystemError
-
Object of class miErrorsCollection, which manages system errors.
-
miDataManager
-
Manage which page to show
-
miDataManager
-
Constructor
-
miDBUtilImpl
-
miDBUtilImpl constructor.
-
miDBUtilImpl
-
Implements functions for database
-
miDefaultRecordsetPager
-
Default Recordset Pager Class Manage the movement between pages when data is shown in table fomat
-
miErrorsCollection
-
Keep errors which arise during script life
-
miGetParam
-
Retrieves a param. First tryies from $_POST, and then $_GET. If the param is not found prints an error and terminates the application
-
miGetParamDefault
-
Retrieves a param or returns a default value.
-
miMkDirs
-
Attempts to create the directory specified by pathname, creating recursively all needed parent directories.
-
miModelGeneralOptionsRecord
-
miModelGeneralOptionsRecord constructor. It takes three parameters - table name, property field and field value
-
miModelGeneralOptionsRecord
-
Handle and manage deleting and reading of data from the database.
-
miModelSQLRecord
-
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.
-
miModelSQLRecord
-
miModelSQLRecord constructor. It takes two parameters table name and table primary key
-
miModelSQLRecordset
-
Handle and manage the reading of data from database.
-
miModelSQLRecordset
-
miModelSQLRecordset constructor. It takes one parameter - table name
-
minLengthValidator
-
Validates if the value set by user for a specify field is exceed the minimum length for the field
-
MIPHPF_VERSION
-
-
miRecordsetPager
-
Recordset Pager Class Manage the movement between pages when data is shown in table fomat
-
miSendEmail
-
Mails the message specified in $text to the receiver specified in $to
-
miSimpleRecordsetPager
-
Default Recordset Pager Class Manage the movement between pages when data is shown in table fomat
-
miStaticDBUtil
-
Implements functions for database
-
miTemplateParser
-
Parses templates
-
miUIUtil
-
Offer same often used user interface functions
-
miViewParams
-
Manages the assigning of various params that are shared between miViewRecords and miDataManager
-
miViewRecords
-
miViewRecords constructor. It takes one parameter - object of class miModelSQLRecordset or its subclasses
-
miViewRecords
-
Manage the representation in table format of data, which is readed from miModelSQLRecordset object
-
MI_DEFAULT_LANGUAGE
-
-
MI_DISPLAY_DATE_FORMAT
-
-
MI_DISPLAY_TIME_FORMAT
-
-
MI_DM_GENERATED
-
-
MI_DM_PAGE_CREATE
-
-
MI_DM_PAGE_EDIT
-
-
MI_DM_READONLY
-
-
MI_ERRORLEVEL_CRITICAL
-
-
MI_ERRORLEVEL_DEBUG
-
-
MI_ERRORLEVEL_NOTICE
-
-
MI_ERRORLEVEL_USER
-
-
MI_ERRORLEVEL_WARNING
-
-
MI_FILTER_CONDITION_SUFIX
-
-
MI_FILTER_NAME_SUFIX
-
-
MI_LOCALIZATION_FILE
-
-
MI_MYSQL_DATETIME_FORMAT
-
-
MI_MYSQL_DATE_FORMAT
-
-
MI_PARAM_MESSAGE
-
-
MI_PARAM_PAGE
-
-
MI_PARAM_SORTBY
-
-
MI_PARAM_SORTDIR
-
-
MI_RECORDS_PER_PAGE
-
-
MI_SESSION_NAME
-
-
MI_SYSTEMERROR_CONNECTDB
-
-
MI_SYSTEMERROR_DBFINDRECORD
-
-
MI_SYSTEMERROR_DBQUERY
-
-
MI_SYSTEMERROR_SELECTDB
-
-
MI_SYSTEMERROR_UKNOWNFILTER
-
-
MI_SYSTEMERROR_UKNOWNFILTEROPERATION
-
-
MI_TEMPLATE_BASEDIR
-
-
StaticDBUtil.inc
-
-
SQLRecordset.inc
-
-
SQLRecord.inc
-
-
set
-
Sets a value to the given field to the array which hold the data for the next execution or last executed query
-
setDataFields
-
Sets array that describes the output and input of each database field
-
setMainPageElements
-
Sets main page elements
-
setMainPageElements
-
Sets main page elements
-
setMainPageElements
-
Sets main page elements
-
setOrder
-
Sets the field by which the result of the query will be ordered and the direction of ordering - ascending or descending.
-
setPage
-
Sets the current page to show and the number of records per page
-
setPager
-
Sets Object of class miDefaultRecordsetPager or its subclasses.
-
setRecord
-
Sets object of class miModelSQLRecord or its subclasses.
-
setRecordLocatorParams
-
Sets the record locator params. They are used to forward params from top level to sub-level data managers
-
setRecordsLimit
-
Sets how many rows to be read from the databse
-
setRecordsPerPage
-
Sets how many rows to show in each page when data is shown in table format
-
setRow
-
Sets array which hold the data for the next execution or last executed query
-
setViewParams
-
Sets the view params object
-
setViewRecords
-
Sets Object of class miViewRecords or its subclasses.
-
Show
-
Shows page with data in table format.
-
ShowPage
-
Shows specify page
-
sql_connect
-
-
sql_error
-
-
sql_escape_string
-
-
sql_fetch_assoc
-
-
sql_field_name
-
-
sql_free_result
-
-
sql_insert_id
-
-
sql_list_fields
-
-
sql_num_fields
-
-
sql_query
-
-
sql_select_db
-
-
stringTemplateParse
-
Parses the contents param as a string, $iter times, and returns the result