PHP Class WPDKUIPageView

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

Méthodes publiques

Свойство Type Description
$views array List of views to paged. This can be a list of instance of WPDKView, string content or callable user functions.

Méthodes publiques

Méthode 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 méthode

Create an instance of WPDKUIPageView class
public __construct ( ) : WPDKUIPageView
Résultat WPDKUIPageView

draw() public méthode

Display
public draw ( )

init() public static méthode

Return a singleton instance of WPDKUIPageView class
public static init ( ) : WPDKUIPageView
Résultat WPDKUIPageView

initWithHTML() public static méthode

public static initWithHTML ( $html )

initWithPages() public static méthode

Return a singleton instance of WPDKUIPageView class
public static initWithPages ( $views ) : WPDKUIPageView
Résultat WPDKUIPageView

navigator() public méthode

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

views() public méthode

Return the array with list of views. You can override this method when subclass this class.
public views ( ) : array
Résultat 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
Résultat array