/application/helpers/page.php

Description
Classes
Class Description
PageDescription Page description class
Functions
add_inline_css_to_page (line 555)

Add inline CSS to page

  • access: public
null add_inline_css_to_page (string $content, [string $condition = null])
  • string $content
  • string $condition
add_inline_javascript_to_page (line 542)

Add inline JS to page

  • access: public
null add_inline_javascript_to_page (string $content)
  • string $content
add_javascript_to_page (line 530)

Add external JS to page

  • access: public
null add_javascript_to_page (string $src)
  • string $src: URL of external JS file
add_stylesheet_to_page (line 513)

Add external stylesheet file to page

  • access: public
null add_stylesheet_to_page (string $href, [string $title = null], [string $media = null])
  • string $href
  • string $title
  • string $media
close_html_tag (line 41)

Close specific HTML tag

  • access: public
string close_html_tag (string $name)
  • string $name: Tag name
get_file_url (line 768)

Return URL of specific file in /public/files

string get_file_url (string $file_name)
  • string $file_name: Name of the file or path relative to /public/files/
get_image_url (line 809)

Return image URl

string get_image_url (string $file_name)
  • string $file_name
get_javascript_url (line 778)

Return javascript URL

string get_javascript_url (string $file_name)
  • string $file_name
get_page_title (line 481)

Return page title

  • access: public
string get_page_title ([void 0 = ])
  • void 0
get_public_url (line 757)

Return URL relative to public folder

string get_public_url (string $rel)
  • string $rel
get_stylesheet_url (line 788)

Return URL of specific stylesheet

string get_stylesheet_url (string $file_name)
  • string $file_name
javascript_tag (line 143)

Generate javascript tag

  • access: public
string javascript_tag ([string $src = null], [string $content = null])
  • string $src: Path to external file
  • string $content: Tag content
link_tag (line 66)

Prepare link tag

  • access: public
string link_tag (string $href, [string $rel_or_rev = 'rel'], [string $rel = 'alternate'], [array $attributes = null])
  • string $href
  • string $rel_or_rev: Rel or rev
  • string $rel
  • array $attributes
link_tag_rel (line 93)

Rel link tag

  • access: public
string link_tag_rel (string $href, string $rel, [string $attributes = null])
  • string $href
  • string $rel
  • string $attributes
link_tag_rev (line 106)

Rev link tag

  • access: public
string link_tag_rev (string $href, string $rel, [string $attributes = null])
  • string $href
  • string $rel
  • string $attributes
meta_tag (line 119)

Return code of meta tag

  • access: public
string meta_tag (string $name, string $content, [boolean $http_equiv = false])
  • string $name: Name of the meta property
  • string $content
  • boolean $http_equiv
open_html_tag (line 12)

Open HTML tag

  • access: public
string open_html_tag (string $name, [array $attributes = null], [boolean $empty = false])
  • string $name: Tag name
  • array $attributes: Array of tag attributes
  • boolean $empty: If tag is empty it will be automaticly closed
render_page_head (line 739)

Render page head...

  • access: public
string render_page_head ([string $title = ])
  • string $title
render_page_inline_css (line 636)

Render page inline CSS

  • access: public
string render_page_inline_css ([void 0 = ])
  • void 0
render_page_inline_js (line 707)

Render inline javascript

  • access: public
string render_page_inline_js ([void 0 = ])
  • void 0
render_page_javascript (line 675)

Render javascript tags

  • access: public
string render_page_javascript ([void 0 = ])
  • void 0
render_page_links (line 597)

Render page links

  • access: public
string render_page_links ([void 0 = ])
  • void 0
render_page_meta (line 567)

Return generated page meta code

  • access: public
string render_page_meta ([void 0 = ])
  • void 0
set_page_title (line 500)

Set page title

  • access: public
null set_page_title (string $value)
  • string $value
stylesheet_tag (line 167)

Render stylesheet tag

  • access: public
string stylesheet_tag (string $href, [ $attributes = null])
  • string $href: URL of external stylesheet
  • $attributes
style_tag (line 192)

Render style tag inside optional conditional comment

  • access: public
string style_tag (string $content, [string $condition = null])
  • string $content
  • string $condition: Condition for conditional comment (IE, lte IE6...). If null conditional comment will not be added
title_tag (line 52)

Return title tag

  • access: public
string title_tag (string $title)
  • string $title

Documentation generated on Wed, 23 Jan 2008 01:58:58 +0000 by phpDocumentor 1.4.0