PHP Class Papi_Admin_View, papi

Exibir arquivo Open project: wp-papi/papi Class Usage Examples

Protected Properties

Property Type Description
$path string Path to view dir.

Public Methods

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

Protected Methods

Method Description
file ( string $file ) : string Get full path to file with php exstention.

Method Details

__construct() public method

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

exists() public method

Check if file exists.
public exists ( string $file ) : boolean
$file string
return boolean

file() protected method

Get full path to file with php exstention.
protected file ( string $file ) : string
$file string
return string

render() public method

Render file.
public render ( string $file ) : string
$file string
return string

Property Details

$path protected_oe property

Path to view dir.
protected string $path
return string