Documentation

Directory_Controller_Tab_Social extends Directory_Controller_Tab
in package

Directory_Controller_Tab_Social

Tags
subpackage

Directory

version
7.x
author

Hostmake LLC

copyright

© 2005-2024 ООО "Хостмэйк" (Hostmake LLC), http://www.hostcms.ru

Table of Contents

Properties

$instance  : mixed
The singleton instances.
$_aDirectory_Relations  : array<string|int, mixed>|null
Directory relations
$_allowedProperties  : array<string|int, mixed>
Allowed object properties
$_directoryTypeName  : mixed
$_faTitleIcon  : mixed
$_propertiesValues  : array<string|int, mixed>
Properties values
$_titleHeaderColor  : mixed
$_unlimitedProperties  : bool
Object has unlimited number of properties

Methods

__construct()  : mixed
Constructor.
addAllowedProperties()  : self
Add additional allowed properties
addAllowedProperty()  : self
Add additional allowed property
applyObjectProperty()  : mixed
execute()  : Admin_Form_Entity
Execute
instance()  : object
Register an existing instance as a singleton.
set()  : self
Run when writing data to inaccessible properties
setUnlimitedProperties()  : self
Set unlimitedProperties
_buttons()  : Admin_Form_Entity
Buttons
_execute()  : mixed
_getDirectoryTypes()  : array<string|int, mixed>
Get directory types
_publicityControlElement()  : Admin_Form_Entity
Publicity control element
_socialTemplate()  : mixed

Properties

$instance

The singleton instances.

public static mixed $instance = array()

$_aDirectory_Relations

Directory relations

protected array<string|int, mixed>|null $_aDirectory_Relations = \NULL

$_allowedProperties

Allowed object properties

protected array<string|int, mixed> $_allowedProperties = array()

$_directoryTypeName

protected mixed $_directoryTypeName = 'Directory_Social_Type'

$_faTitleIcon

protected mixed $_faTitleIcon = 'fa fa-share-alt'

$_propertiesValues

Properties values

protected array<string|int, mixed> $_propertiesValues = array()

$_titleHeaderColor

protected mixed $_titleHeaderColor = 'blue'

$_unlimitedProperties

Object has unlimited number of properties

protected bool $_unlimitedProperties = \FALSE

Methods

__construct()

Constructor.

public __construct() : mixed

addAllowedProperties()

Add additional allowed properties

public addAllowedProperties(array<string|int, mixed> $array) : self
Parameters
$array : array<string|int, mixed>

array of properties' names

Return values
self

addAllowedProperty()

Add additional allowed property

public addAllowedProperty(string $property) : self
Parameters
$property : string

property name

Return values
self

applyObjectProperty()

public applyObjectProperty(mixed $Admin_Form_Controller, mixed $object) : mixed
Parameters
$Admin_Form_Controller : mixed
$object : mixed

instance()

Register an existing instance as a singleton.

public static instance(string $name) : object
Parameters
$name : string

driver's name

Return values
object

set()

Run when writing data to inaccessible properties

public set(string $property, string $value) : self
Parameters
$property : string

property name

$value : string

property value

Return values
self

setUnlimitedProperties()

Set unlimitedProperties

public setUnlimitedProperties([bool $value = TRUE ]) : self
Parameters
$value : bool = TRUE

default TRUR

Return values
self

_execute()

protected _execute(mixed $oPersonalDataInnerWrapper) : mixed
Parameters
$oPersonalDataInnerWrapper : mixed

_getDirectoryTypes()

Get directory types

protected _getDirectoryTypes() : array<string|int, mixed>
Return values
array<string|int, mixed>

_socialTemplate()

protected _socialTemplate(mixed $aMasDirectorySocials[, mixed $oUser_Directory_Social = NULL ]) : mixed
Parameters
$aMasDirectorySocials : mixed
$oUser_Directory_Social : mixed = NULL

        
On this page

Search results