PHP Class Papi_Admin_View, papi

Afficher le fichier Open project: wp-papi/papi Class Usage Examples

Protected Properties

Свойство Type Description
$path string Path to view dir.

Méthodes publiques

Méthode Description
__construct ( string $path = '' ) The constructor.
exists ( string $file ) : boolean Check if file exists.
render ( string $file ) : string Render file.

Méthodes protégées

Méthode Description
file ( string $file ) : string Get full path to file with php exstention.

Method Details

__construct() public méthode

The constructor.
public __construct ( string $path = '' )
$path string

exists() public méthode

Check if file exists.
public exists ( string $file ) : boolean
$file string
Résultat boolean

file() protected méthode

Get full path to file with php exstention.
protected file ( string $file ) : string
$file string
Résultat string

render() public méthode

Render file.
public render ( string $file ) : string
$file string
Résultat string

Property Details

$path protected_oe property

Path to view dir.
protected string $path
Résultat string