VihvLCC  3.0.0
ICms Interface Reference
Inheritance diagram for ICms:

Public Member Functions

 getLogo ()
 
 getSiteUrl ()
 
 getThemeUrl ()
 
 getSiteTitle ()
 
 getSiteSlogan ()
 
 isFrontPage ()
 
 isSingle ()
 
 isCategory ()
 
 getPager ()
 
 getPosts ()
 
 getPost ()
 
 getPageTitle ()
 
 addJs ($url, $footer=false, $dependancy=array())
 
 getHtmlHead ()
 
 getFooter ()
 
 getSidebarHtml ($sidebar)
 
 getMenuHtml ($location)
 

Detailed Description

interface for common CMS interactions

Member Function Documentation

addJs (   $url,
  $footer = false,
  $dependancy = array() 
)

register javascript to be loaded by getHtmlHead or getFooter

Parameters
string$url- full url of javascript file
bool$footer- if true script will be loaded in footer
array$dependancy- list of dependant scrips that should be loaded befor this one

Implemented in WordpressWrapper.

getFooter ( )

should be used in TFooterControl

Returns
cms specipc tags that should be loaded in the bottom on the page, before </body>

Implemented in WordpressWrapper.

getHtmlHead ( )

should be used in THeadControl

Returns
cms specific html for <head> tag

Implemented in WordpressWrapper.

getLogo ( )
Returns
link to site logo
getMenuHtml (   $location)
Returns
html code rendered by cms core for menu

Implemented in WordpressWrapper.

getPager ( )
Returns
html code for default pager

Implemented in WordpressWrapper.

getPageTitle ( )
Returns
current page title

Implemented in WordpressWrapper.

getPost ( )
Returns
ICmsPost object for current post

Implemented in WordpressWrapper.

getPosts ( )
Returns
list of ICmsPost objects

Implemented in WordpressWrapper.

getSidebarHtml (   $sidebar)
Returns
html code for theme sidebar

Implemented in WordpressWrapper.

getSiteSlogan ( )
Returns
site slogan (description)

Implemented in WordpressWrapper.

getSiteTitle ( )
Returns
site title

Implemented in WordpressWrapper.

getSiteUrl ( )
Returns
site base url

Implemented in WordpressWrapper.

getThemeUrl ( )
Returns
url of current theme, needed for linking css, js and images

Implemented in WordpressWrapper.

isCategory ( )
Returns
true if current page should display a list of posts by category

Implemented in WordpressWrapper.

isFrontPage ( )
Returns
true if cuttent page is front page

Implemented in WordpressWrapper.

isSingle ( )
Returns
true if current page is single page or post

Implemented in WordpressWrapper.


The documentation for this interface was generated from the following file: