Class AdminPageFramework_AdminNotice
Displays notification in the administration area.
Usage
new AdminPageFramework_AdminNotice( 'There was an error while doing something...' );
Example
new AdminPageFramework_AdminNotice( 'Error occurred', array( 'class' => 'error' ) );
new AdminPageFramework_AdminNotice( 'Setting Updated', array( 'class' => 'updated' ) );
For details of arguments, see the __construct()
method
below.
Package: AdminPageFramework\Common\Utility
Copyright: Copyright (c) 2013-2022, Michael Uno
Author: Michael Uno
Since: 3.5.0
Extends: AdminPageFramework_FrameworkUtility
Image: http://admin-page-framework.michaeluno.jp/image/common/utility/admin_notice.png
Located at factory/_common/utility/admin_notice/AdminPageFramework_AdminNotice.php
Copyright: Copyright (c) 2013-2022, Michael Uno
Author: Michael Uno
Since: 3.5.0
Extends: AdminPageFramework_FrameworkUtility
Image: http://admin-page-framework.michaeluno.jp/image/common/utility/admin_notice.png
Located at factory/_common/utility/admin_notice/AdminPageFramework_AdminNotice.php
Methods summary
public
|
#
__construct( string $sNotice, array $aAttributes = array( 'class' => 'error' ), array $aCallbacks = array() )
Sets up hooks and properties. Parameters
Since
3.5.0
|