PHP 클래스 Social\Model\AddThis

상속: extends Gc\Core\Object
파일 보기 프로젝트 열기: gotcms/gotcms 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$config array Configuration
$configTable Gc\Core\Config Config table
$defaultOptions array Default options

공개 메소드들

메소드 설명
__construct ( Config $configTable = null ) Constructor
addWidgets ( array $data, boolean $removeUndefined = false ) : boolean Add widgets
getConfig ( ) : array Return configuration
getDefaultStyles ( ) : array Return default styles
getLanguages ( ) : array Return languages list
getWidgets ( ) : array Return widgets
saveConfig ( ) : boolean Save configuration to core_config_data table
setConfig ( array $data ) : boolean Edit configuration and save it

메소드 상세

__construct() 공개 메소드

Constructor
public __construct ( Config $configTable = null )
$configTable Gc\Core\Config Config table

addWidgets() 공개 메소드

Add widgets
public addWidgets ( array $data, boolean $removeUndefined = false ) : boolean
$data array New widgets
$removeUndefined boolean Check if yes or no undefined widget will be removed
리턴 boolean

getConfig() 공개 메소드

Return configuration
public getConfig ( ) : array
리턴 array

getDefaultStyles() 공개 메소드

Return default styles
public getDefaultStyles ( ) : array
리턴 array

getLanguages() 공개 메소드

Return languages list
public getLanguages ( ) : array
리턴 array

getWidgets() 공개 메소드

Return widgets
public getWidgets ( ) : array
리턴 array

saveConfig() 공개 메소드

Save configuration to core_config_data table
public saveConfig ( ) : boolean
리턴 boolean

setConfig() 공개 메소드

Edit configuration and save it
public setConfig ( array $data ) : boolean
$data array New config data
리턴 boolean

프로퍼티 상세

$config 보호되어 있는 프로퍼티

Configuration
protected array $config
리턴 array

$configTable 보호되어 있는 프로퍼티

Config table
protected Config,Gc\Core $configTable
리턴 Gc\Core\Config

$defaultOptions 보호되어 있는 프로퍼티

Default options
protected array $defaultOptions
리턴 array