PHP Class AdminPageFramework_Requirement

Mostra file Open project: michaeluno/admin-page-framework Class Usage Examples

Public Properties

Property Type Description
$aWarnings

Public Methods

Method Description
__construct ( array $aRequirements = [], $sScriptName = '' )
_replyToPrintAdminNotices ( )
check ( )
deactivatePlugin ( $sPluginFilePath, $sMessage = '', $bIsOnActivation = false )
setAdminNotices ( )

Private Methods

Method Description
_checkClasses ( $aClasses )
_checkConstants ( $aConstants )
_checkFiles ( $aFilePaths )
_checkFunctions ( $aFunctions )
_checkMySQLVersion ( $sMySQLVersion )
_checkPHPVersion ( $sPHPVersion )
_checkWordPressVersion ( $sWordPressVersion )
_getWarningByType ( $sType )
_getWarnings ( )
_getWarningsByFunctionName ( $sFuncName, $aSubjects )

Method Details

__construct() public method

public __construct ( array $aRequirements = [], $sScriptName = '' )
$aRequirements array

_replyToPrintAdminNotices() public method

check() public method

public check ( )

deactivatePlugin() public method

public deactivatePlugin ( $sPluginFilePath, $sMessage = '', $bIsOnActivation = false )

setAdminNotices() public method

public setAdminNotices ( )

Property Details

$aWarnings public_oe property

public $aWarnings