PHP Класс Piwik\Plugin\ControllerAdmin

See {@link Controller} to learn more about Piwik controllers.
Наследование: extends Controller
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
displayWarningIfConfigFileNotWritable ( )
isDataPurgeSettingsEnabled ( )
setBasicVariablesAdminView ( View $view ) Assigns view properties that would be useful to views that render admin pages.

Защищенные методы

Метод Описание
getPiwikVersion ( )
setBasicVariablesView ( View $view ) Calls {@link setBasicVariablesView()} and {@link setBasicVariablesAdminView()} using the supplied view.

Приватные методы

Метод Описание
getNextRequiredMinimumPHP ( ) : string PHP Version required by the next major Piwik version
isPhpVersionAtLeast55 ( )
isUsingPhpVersionCompatibleWithNextPiwik ( )
notifyAnyInvalidLicense ( )
notifyAnyInvalidPlugin ( )
notifyIfEAcceleratorIsUsed ( )
notifyIfURLIsNotSecure ( )
notifyWhenDebugOnDemandIsEnabled ( $trackerSetting )
notifyWhenPhpVersionIsEOL ( )
notifyWhenPhpVersionIsNotCompatibleWithNextMajorPiwik ( )
notifyWhenTrackingStatisticsDisabled ( )

Описание методов

displayWarningIfConfigFileNotWritable() публичный статический Метод

getPiwikVersion() защищенный статический Метод

protected static getPiwikVersion ( )

isDataPurgeSettingsEnabled() публичный статический Метод

public static isDataPurgeSettingsEnabled ( )

setBasicVariablesAdminView() публичный статический Метод

Assigns the following variables: - **statisticsNotRecorded** - Set to true if the [Tracker] record_statistics INI config is 0. If not 0, this variable will not be defined. - **topMenu** - The result of MenuTop::getInstance()->getMenu(). - **enableFrames** - The value of the [General] enable_framed_pages INI config option. If true, {@link Piwik\View::setXFrameOptions()} is called on the view. - **isSuperUser** - Whether the current user is a superuser or not. - **usingOldGeoIPPlugin** - Whether this Piwik install is currently using the old GeoIP plugin or not. - **invalidPluginsWarning** - Set if some of the plugins to load (determined by INI configuration) are invalid or missing. - **phpVersion** - The current PHP version. - **phpIsNewEnough** - Whether the current PHP version is new enough to run Piwik. - **adminMenu** - The result of MenuAdmin::getInstance()->getMenu().
public static setBasicVariablesAdminView ( View $view )
$view Piwik\View

setBasicVariablesView() защищенный Метод

Calls {@link setBasicVariablesView()} and {@link setBasicVariablesAdminView()} using the supplied view.
protected setBasicVariablesView ( View $view )
$view Piwik\View