UNA
Loading...
Searching...
No Matches
BxDolSearchExtended Class Reference
Inheritance diagram for BxDolSearchExtended:
BxDolFactory iBxDolFactoryObject BxBaseSearchExtended BxTemplSearchExtended BxBaseSearchExtendedCmts BxTemplSearchExtendedCmts

Public Member Functions

 isEnabled ()
 
 clean ()
 
 cleanFields ()
 
 cleanSortableFields ()
 
 reset ()
 
 resetFields ()
 
 resetSortableFields ()
 

Static Public Member Functions

static getObjectInstance ($sObject, $oTemplate=false)
 
static actionGetAuthors ()
 
static actionGetHashtags ()
 
static actionGetMention ()
 
static getMention ($sSymbol)
 
static encodeConditions ($aConditions)
 
static decodeConditions ($sConditions)
 
- Static Public Member Functions inherited from iBxDolFactoryObject
static getObjectInstance ($sObject)
 

Static Public Attributes

static $SEARCHABLE_TYPES
 
static $TYPE_TO_TYPE_SEARCH
 
static $TYPE_TO_OPERATOR
 

Protected Member Functions

 __construct ($aObject)
 

Protected Attributes

 $_bIsApi
 
 $_oDb
 
 $_sObject
 
 $_aObject
 
 $_bFilterMode
 

Constructor & Destructor Documentation

◆ __construct()

BxDolSearchExtended::__construct ( $aObject)
protected

Constructor

Parameters
$aObjectarray of search options

Member Function Documentation

◆ getMention()

static BxDolSearchExtended::getMention ( $sSymbol)
static

Hooks:

'search', 'get_mention' - hook on get mention list

  • $unit_name - equals search
  • $action - equals get_mention
  • $object_id - not used
  • $sender_id - not used
  • $extra_params - array of additional params with the following array keys:

◆ getObjectInstance()

static BxDolSearchExtended::getObjectInstance ( $sObject,
$oTemplate = false )
static

Get editor object instance by object name

Parameters
$sObjectobject name
Returns
object instance or false on error

Member Data Documentation

◆ $SEARCHABLE_TYPES

BxDolSearchExtended::$SEARCHABLE_TYPES
static
Initial value:
= array(
'text', 'textarea', 'number', 'slider',
'select', 'radio_set',
'checkbox_set', 'select_multiple',
'checkbox', 'switcher',
'datepicker', 'datetime',
'location', 'location_radius'
)

◆ $TYPE_TO_OPERATOR

BxDolSearchExtended::$TYPE_TO_OPERATOR
static
Initial value:
= array(
'text' => array('like', '=', 'between'),
'textarea' => array('like', '='),
'number' => array('='),
'slider' => array('between', '='),
'text_auto' => array('in'),
'select' => array('in'),
'radio_set' => array('in'),
'checkbox_set' => array('and'),
'select_multiple' => array('and'),
'checkbox' => array('='),
'switcher' => array('='),
'datepicker' => array('between'),
'datetime' => array('between'),
'location' => array('locate')
)

◆ $TYPE_TO_TYPE_SEARCH

BxDolSearchExtended::$TYPE_TO_TYPE_SEARCH
static
Initial value:
= array(
'text' => array('text', 'text_range'),
'textarea' => array('text'),
'number' => array('text'),
'slider' => array('text_range', 'text'),
'text_auto' => array('text_auto'),
'select' => array('checkbox_set', 'select_multiple', 'select'),
'radio_set' => array('checkbox_set', 'select_multiple', 'select'),
'checkbox_set' => array('checkbox_set', 'select_multiple', 'select'),
'select_multiple' => array('checkbox_set', 'select_multiple', 'select'),
'checkbox' => array('checkbox', 'switcher'),
'switcher' => array('checkbox', 'switcher'),
'datepicker' => array('datepicker_range', 'datepicker_range_age'),
'datetime' => array('datetime_range', 'datetime_range_age'),
'location' => array('location', 'location_radius')
)

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