PHP Class WPDKUIPageView

Author: =undo= ([email protected])
Inheritance: extends WPDKView
Mostrar archivo Open project: wpxtreme/wpdk Class Usage Examples

Public Properties

Property Type Description
$views array List of views to paged. This can be a list of instance of WPDKView, string content or callable user functions.

Public Methods

Method Description
__construct ( ) : WPDKUIPageView Create an instance of WPDKUIPageView class
draw ( ) Display
init ( ) : WPDKUIPageView Return a singleton instance of WPDKUIPageView class
initWithHTML ( $html )
initWithPages ( $views ) : WPDKUIPageView Return a singleton instance of WPDKUIPageView class
navigator ( ) Return the HTML markup for navigator in page.
views ( ) : array Return the array with list of views. You can override this method when subclass this class.

Method Details

__construct() public method

Create an instance of WPDKUIPageView class
public __construct ( ) : WPDKUIPageView
return WPDKUIPageView

draw() public method

Display
public draw ( )

init() public static method

Return a singleton instance of WPDKUIPageView class
public static init ( ) : WPDKUIPageView
return WPDKUIPageView

initWithHTML() public static method

public static initWithHTML ( $html )

initWithPages() public static method

Return a singleton instance of WPDKUIPageView class
public static initWithPages ( $views ) : WPDKUIPageView
return WPDKUIPageView

navigator() public method

Return the HTML markup for navigator in page.
public navigator ( )

views() public method

Return the array with list of views. You can override this method when subclass this class.
public views ( ) : array
return array

Property Details

$views public_oe property

List of views to paged. This can be a list of instance of WPDKView, string content or callable user functions.
public array $views
return array