PHP 클래스 Piwik\Settings\Settings

파일 보기 프로젝트 열기: piwik/piwik 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$pluginName
$title string By default the plugin name is shown in the UI when managing plugin settings. However, you can overwrite the displayed title by specifying a title.

공개 메소드들

메소드 설명
__construct ( )
getPluginName ( )
getSetting ( $name ) : Piwik\Settings\Setting
getSettingsWritableByCurrentUser ( ) : Piwik\Settings\Setting[] Returns the settings that can be displayed for the current user.
getTitle ( )
save ( ) Saves (persists) the current setting values in the database.

보호된 메소드들

메소드 설명
addSetting ( Piwik\Settings\Setting $setting ) Makes a new plugin setting available.
init ( ) Implemented by descendants. This method should define plugin settings (via the {@link addSetting()}) method and set the introduction text (via the {@link setIntroduction()}).

메소드 상세

__construct() 공개 메소드

public __construct ( )

addSetting() 보호된 메소드

Makes a new plugin setting available.
protected addSetting ( Piwik\Settings\Setting $setting )
$setting Piwik\Settings\Setting

getPluginName() 공개 메소드

public getPluginName ( )

getSetting() 공개 메소드

public getSetting ( $name ) : Piwik\Settings\Setting
리턴 Piwik\Settings\Setting

getSettingsWritableByCurrentUser() 공개 메소드

Returns the settings that can be displayed for the current user.
public getSettingsWritableByCurrentUser ( ) : Piwik\Settings\Setting[]
리턴 Piwik\Settings\Setting[]

getTitle() 공개 메소드

public getTitle ( )

init() 추상적인 보호된 메소드

Implemented by descendants. This method should define plugin settings (via the {@link addSetting()}) method and set the introduction text (via the {@link setIntroduction()}).
abstract protected init ( )

save() 공개 메소드

Saves (persists) the current setting values in the database.
public save ( )

프로퍼티 상세

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

protected $pluginName

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

By default the plugin name is shown in the UI when managing plugin settings. However, you can overwrite the displayed title by specifying a title.
protected string $title
리턴 string