add_inline_css_to_page (line 555)
Add inline CSS to page
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
null
add_inline_javascript_to_page
(string $content)
add_javascript_to_page (line 530)
Add external JS to page
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
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
string
close_html_tag
(string $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)
get_javascript_url (line 778)
Return javascript URL
string
get_javascript_url
(string $file_name)
get_page_title (line 481)
Return page title
string
get_page_title
([void 0 = ])
get_public_url (line 757)
Return URL relative to public folder
string
get_public_url
(string $rel)
get_stylesheet_url (line 788)
Return URL of specific stylesheet
string
get_stylesheet_url
(string $file_name)
javascript_tag (line 143)
Generate javascript tag
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
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
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
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
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
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...
string
render_page_head
([string $title = ])
render_page_inline_css (line 636)
Render page inline CSS
string
render_page_inline_css
([void 0 = ])
render_page_inline_js (line 707)
Render inline javascript
string
render_page_inline_js
([void 0 = ])
render_page_javascript (line 675)
Render javascript tags
string
render_page_javascript
([void 0 = ])
render_page_links (line 597)
Render page links
string
render_page_links
([void 0 = ])
render_page_meta (line 567)
Return generated page meta code
string
render_page_meta
([void 0 = ])
set_page_title (line 500)
Set page title
null
set_page_title
(string $value)
stylesheet_tag (line 167)
Render stylesheet tag
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
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
string
title_tag
(string $title)