Class AdminPageFramework_Widget_View
Provides methods of views for the widget factory class.
Those methods are internal and deal with printing outputs.
Abstract
Package: AdminPageFramework\Factory\Widget
Since: 3.2.0
Located at factory/widget/AdminPageFramework_Widget_View.php
Package: AdminPageFramework\Factory\Widget
Since: 3.2.0
Located at factory/widget/AdminPageFramework_Widget_View.php
Methods summary
public
string
|
#
content( mixed $sContent, mixed $aArguments, mixed $aFormData )
Filters the post type post content. This method is called in the same timing of the Examplepublic function content( $sContent, $aArguments, $aFormData ) { return $sContent . '<p>' . __( 'Hello world! This is a widget created by Admin Page Framework with some custom field types.', 'admin-page-framework-demo' ) . '</p>' . AdminPageFramework_Debug::get( $aArguments ) . AdminPageFramework_Debug::get( $aFormData ); } Returnsstring Since
3.2.0
Remark
This class should be overridden in the extended class so that the user can
display own contents.
|