PHP Class Kostache, kohanaframework.org

Inheritance: extends Kohana_Kostache
显示文件 Open project: kohana/kohanaframework.org Class Usage Examples

Public Properties

Property Type Description
$banner_exists show the banner space on template
$description description of the page
$title title of the site

Protected Properties

Property Type Description
$_partials partials for the page

Public Methods

Method Description
base_url ( ) : string Returns URL::base() in order to link to assets properly
charset ( ) : string Return the charset for the page
development_url ( ) : string Returns development page url
documentation_url ( ) : string Returns documentation page url
donate_url ( ) : string Returns donate page url
download_url ( ) : string Returns download page url
github_releases_url ( )
home_url ( ) : string Returns home page url
kohana_codename ( ) : string Returns current kohana codename
kohana_version ( ) : string Returns current kohana version
language ( ) : string Return the language for the page
license_url ( ) : string Returns license page url
stats ( ) : boolean Turn on the google analytics in production
team_url ( ) : string Returns team page url
year ( ) : string Return the full year (for copyright notice)

Method Details

base_url() public method

Returns URL::base() in order to link to assets properly
public base_url ( ) : string
return string

charset() public method

Return the charset for the page
public charset ( ) : string
return string

development_url() public method

Returns development page url
public development_url ( ) : string
return string

documentation_url() public method

Returns documentation page url
public documentation_url ( ) : string
return string

donate_url() public method

Returns donate page url
public donate_url ( ) : string
return string

download_url() public method

Returns download page url
public download_url ( ) : string
return string

github_releases_url() public method

public github_releases_url ( )

home_url() public method

Returns home page url
public home_url ( ) : string
return string

kohana_codename() public method

Returns current kohana codename
public kohana_codename ( ) : string
return string

kohana_version() public method

Returns current kohana version
public kohana_version ( ) : string
return string

language() public method

Return the language for the page
public language ( ) : string
return string

license_url() public method

Returns license page url
public license_url ( ) : string
return string

stats() public method

Turn on the google analytics in production
public stats ( ) : boolean
return boolean

team_url() public method

Returns team page url
public team_url ( ) : string
return string

year() public method

Return the full year (for copyright notice)
public year ( ) : string
return string

Property Details

$_partials protected_oe property

partials for the page
protected $_partials

$banner_exists public_oe property

show the banner space on template
public $banner_exists

$description public_oe property

description of the page
public $description

$title public_oe property

title of the site
public $title