CaMykS  1.0-20231201
Public Member Functions | Private Member Functions | List of all members
Admin_MonitoringUserAgentCheckerRecord Class Reference
Inheritance diagram for Admin_MonitoringUserAgentCheckerRecord:
ModuleLibrary

Public Member Functions

 __construct ($id, &$module)
 
 build_SQLCondition ($params)
 
 check_data ()
 
 get_platformTypesList ($all=false)
 
 get_statusList ()
 
 get_statusIconList ()
 
 get_platformFormatList ()
 
 get_fromUserAgent ($ua)
 
 count ($params=array())
 
 get_list ($params=array())
 
 get_adminValue ()
 
 update_type ()
 
 mark_asVerified ()
 
 mark_asUnverified ()
 
 mark_asInspected ()
 
 mark_recordsAsVerified ($ids)
 
 mark_recordsAsInspected ($ids)
 
 update_visitCount ()
 
- Public Member Functions inherited from ModuleLibrary
 __construct ($id, &$module, $wf_version=false)
 
 ModuleLibrary ($id, &$module, $wf_version=false)
 
 init_library ()
 
 initialise ()
 
 get ($language=true)
 
 get_fromHeader ($prefix='')
 
 save ()
 
 delete ()
 
 reset ()
 
 install ()
 
 uninstall ()
 
 is_installed ()
 
 is_marked ()
 
get_newObject ($id=0)
 
 get_databaseItems ()
 
 save_databaseItems ()
 
 delete_databaseItems ()
 
 reset_databaseItems ()
 
 install_databaseItems ()
 
 uninstall_databaseItems ()
 
 check_databaseInstallation ()
 
 get_objectList_databaseItemsSQLQuery ($where='', $limit=-1, $count=-1, $order='id', $sens='')
 
 update_databaseSpecificItems ($updatedItems)
 
 get_databaseLocalisedItems ()
 
 save_databaseLocalisedItems ()
 
 delete_databaseLocalisedItems ()
 
 reset_databaseLocalisedItems ()
 
 install_databaseLocalisedItems ()
 
 get_objectList_databaseLocalisedItemsSQLQuery ($ids)
 
 get_allDatabaseItems ($language)
 
 get_objectList_allDatabaseItemsSQLQuery ($language, $where='', $limit=-1, $count=-1, $order='id', $sens='')
 
 get_textItems ($language=null)
 
 save_textItems ()
 
 delete_textItems ()
 
 reset_textItems ()
 
 install_textItems ()
 
 get_fileItems ($language=null)
 
 save_fileItems ()
 
 delete_fileItems ()
 
 reset_fileItems ()
 
 install_fileItems ()
 
 get_tempItems ()
 
 get_fromArray ($data, $match=null, $onlyAvailable=false)
 
 get_fromItems ()
 
 load_fromSession ($name='ObjectData', $onlyAvailable=false)
 
 save_toSession ($name='ObjectData')
 
 delete_fromSession ($name='ObjectData')
 
 get_fileURL ($file, $full=true, $default='')
 
 load_file ($file)
 
 get_varFileURL ($file, $full=true, $default='')
 
 load_varFile ($file)
 
 get_translation ($str, $args=null)
 
 get_objectList ($language=false, $where='', $limit=-1, $count=-1, $order='id', $sens='')
 
 get_objectIdList ($language=false, $where='', $orderBy='', $orderWay='asc')
 
 get_nameList ($element='name', $where='', $language='', $orderBy='', $orderWay='asc')
 
 get_objectCount ($where='', $language=false)
 
 get_uniqueItemList ($element='name', $where='', $structured=false)
 
 execute_DBQuery ($sql='', $line=-1, $file='', $resName=null)
 
 execute_DBMultiQueries ($sql='', $line=-1, $file='', $resName=null)
 
 get_DBQueryGeneratedId ($resName=null)
 
 get_DBQueryDataLine ($resName=null)
 
 get_DBQueryNumDataLine ($resName=null)
 
 get_DBQueryError ($resName=null)
 
 get_DBQueryAffectedRows ($resName=null)
 
 escape_string ($string)
 
 get_DBInsertExtra ()
 
 create_DBTable ($name, $fields, $charset='utf8')
 

Private Member Functions

 build_whereStatement ($params=array())
 

Additional Inherited Members

- Public Attributes inherited from ModuleLibrary
 $object_type = 'ModuleLibrary'
 Object type. More...
 
 $_libName
 Object name. More...
 
 $_libParent
 Parent module. More...
 
 $_libItems = array()
 Object item list. More...
 
 $_libItemTypes = array('db' => array(), 'dbl' => array(), 'text' => array(), 'file' => array(), 'temp' => array())
 Object item list by type. More...
 
 $_libSQLTable
 Object table name in database. More...
 
 $_libSQLLocaleTable
 
 $_libDesc
 Library description. More...
 
 $_libError
 Last error. More...
 
 $_libIsInstalled = null
 
 $id
 Object instance id. More...
 
 $vars = array()
 Object item values. More...
 
- Protected Member Functions inherited from ModuleLibrary
 add_newItem ($name, $itemtype, $info0, $info1, $info2, $default=null, $localised=false)
 
 insert_multiObjectsDatabaseItems ($keys, $values)
 
 check_SQLCondition ($where, $localeOnly=false)
 
 build_SQLOrderByStatement ($order, $way='')
 
- Protected Attributes inherited from ModuleLibrary
 $_libParentFile
 Object library file. More...
 
 $_libDBConnector
 Database connection. More...
 

Detailed Description

Admin_MonitoringUserAgentCheckerRecord class.

Constructor & Destructor Documentation

◆ __construct()

Admin_MonitoringUserAgentCheckerRecord::__construct (   $id,
$module 
)

Class constructor.

Parameters
integer$id
Module$module
Returns
void

Member Function Documentation

◆ build_SQLCondition()

Admin_MonitoringUserAgentCheckerRecord::build_SQLCondition (   $params)

Build sql condition for lists.

Parameters
array$params
Returns
string

Reimplemented from ModuleLibrary.

◆ check_data()

Admin_MonitoringUserAgentCheckerRecord::check_data ( )

Check object data before saving it.

Returns
boolean result

Reimplemented from ModuleLibrary.

◆ get_platformTypesList()

Admin_MonitoringUserAgentCheckerRecord::get_platformTypesList (   $all = false)

Return single record platform list.

Parameters
boolean$all
Returns
array

◆ get_statusList()

Admin_MonitoringUserAgentCheckerRecord::get_statusList ( )

Return single record status list.

Returns
array

◆ get_statusIconList()

Admin_MonitoringUserAgentCheckerRecord::get_statusIconList ( )

Return single record status icon list.

Returns
array

◆ get_platformFormatList()

Admin_MonitoringUserAgentCheckerRecord::get_platformFormatList ( )

Return signe object format list

Returns
array

◆ get_fromUserAgent()

Admin_MonitoringUserAgentCheckerRecord::get_fromUserAgent (   $ua)

Load from user agent value.

Parameters
string$ua
Returns
boolean result

◆ build_whereStatement()

Admin_MonitoringUserAgentCheckerRecord::build_whereStatement (   $params = array())
private

Build where statement from params.

Parameters
array$params
Returns
string

◆ count()

Admin_MonitoringUserAgentCheckerRecord::count (   $params = array())

Return record count with given params.

Parameters
array$params
Returns
int

◆ get_list()

Admin_MonitoringUserAgentCheckerRecord::get_list (   $params = array())

Return record list.

Parameters
array$params
Returns
array

◆ get_adminValue()

Admin_MonitoringUserAgentCheckerRecord::get_adminValue ( )

Return encoded user agent value.

Returns
string

◆ update_type()

Admin_MonitoringUserAgentCheckerRecord::update_type ( )

Update record type.

Returns
boolean success

◆ mark_asVerified()

Admin_MonitoringUserAgentCheckerRecord::mark_asVerified ( )

Mark record as verified.

Returns
boolean success

◆ mark_asUnverified()

Admin_MonitoringUserAgentCheckerRecord::mark_asUnverified ( )

Mark record as unverified.

Returns
boolean success

◆ mark_asInspected()

Admin_MonitoringUserAgentCheckerRecord::mark_asInspected ( )

Mark record as inspected.

Returns
boolean success

◆ mark_recordsAsVerified()

Admin_MonitoringUserAgentCheckerRecord::mark_recordsAsVerified (   $ids)

Mark records as verified.

Parameters
array$ids
Returns
boolean success

◆ mark_recordsAsInspected()

Admin_MonitoringUserAgentCheckerRecord::mark_recordsAsInspected (   $ids)

Mark records as verified.

Parameters
array$ids
Returns
boolean success

◆ update_visitCount()

Admin_MonitoringUserAgentCheckerRecord::update_visitCount ( )

Update visit count.

Returns
boolean success

The documentation for this class was generated from the following file: