VihvLCC  3.0.0
WpPost Class Reference
Inheritance diagram for WpPost:
Collaboration diagram for WpPost:

Public Member Functions

 __construct ($node=null)
 
 getId ()
 
 getMeta ($key)
 
 getPermalink ()
 
 getTitle ()
 
 getDate ()
 
 getAuthor ()
 
 getHtmlExcerpt ()
 
 getHtmlContent ()
 
 getType ()
 
 getThumbnail ($size=null)
 
- Public Member Functions inherited from ICmsPost
 getThumbnail ()
 

Protected Attributes

 $post
 

Detailed Description

Description of TWpPost

Constructor & Destructor Documentation

__construct (   $node = null)

if $node is missing we will create current page object

Implements ICmsPost.

Member Function Documentation

getAuthor ( )
getDate ( )
getHtmlContent ( )
Returns
html contend of the page/post

Implements ICmsPost.

getHtmlExcerpt ( )
Returns
html code for annotation of current post (content befor <!–more–> tag for example)

Implements ICmsPost.

getId ( )
getMeta (   $key)
Parameters
$keymeta key (see wordpress get_post_meta)
Returns
single meta value. wrapper for get_post_meta(,,true);
getPermalink ( )

Implements ICmsPost.

getThumbnail (   $size = null)

magic

getTitle ( )

Implements ICmsPost.

getType ( )
Returns
node type (article or whatever, useful for custom post types, node types)

Implements ICmsPost.

Field Documentation

$post
protected

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