UNA
BxDolLocationField Class Reference
Inheritance diagram for BxDolLocationField:
BxDolFactoryObject BxDolFactory iBxDolFactoryObject BxDolLocationFieldGoogle BxDolLocationFieldNominatim

Static Public Member Functions

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

Additional Inherited Members

- Public Member Functions inherited from BxDolFactoryObject
 getObjectName ()
 

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: