UNA
Loading...
Searching...
No Matches
BxDolLocationField Class Reference
Inheritance diagram for BxDolLocationField:
BxDolFactoryObject BxDolFactory iBxDolFactoryObject BxDolLocationFieldGoogle BxDolLocationFieldNominatim

Public Member Functions

 genInputLocation (&$aInput, $oForm)
 
 getLocationVal ($aInput, $sIndex, $oForm)
 
 setLocationVals ($aInput, $aVals, $oForm)
 
 setLocationVal ($aInput, $sIndex, $sVal, $oForm)
 
- Public Member Functions inherited from BxDolFactoryObject
 getObjectName ()
 

Static Public Member Functions

static getObjectInstance ($sObject)
 
- Static Public Member Functions inherited from BxDolFactoryObject
static getObjectInstanceByClassNames ($sObject, $oTemplate, $sClassName, $sDbClassName)
 

Protected Member Functions

 __construct ($aObject)
 
- Protected Member Functions inherited from BxDolFactoryObject
 __construct ($aObject, $oTemplate=null, $sDbClassName='')
 

Additional Inherited Members

- Protected Attributes inherited from BxDolFactoryObject
 $_oDb
 
 $_oTemplate
 
 $_sObject
 
 $_aObject
 

Detailed Description

This class allow different implementations for location field.

Add record to sys_objects_location_field table, like you are doing this for Comments or Voting objects:

  • object: your object name, usually it is in the following format - vendor prefix, underscore, module prefix;
  • module: module name
  • title: translatable title
  • class_name: user defined class name which is derived from BxDolLocationField.
  • class_file: the location of the user defined class, leave it empty if class is located in system folders.

Member Function Documentation

◆ getObjectInstance()

static BxDolLocationField::getObjectInstance ( $sObject)
static

Get object instance by object name

Parameters
$sObjectobject name
Returns
object instance or false on error

Implements iBxDolFactoryObject.


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