VihvLCC  3.0.0
WpPageTemplateChooser Class Reference

Public Member Functions

 getInstance ()
 
 self ()
 
 registerTemplate ($name, $title)
 
 getTemplates ()
 
 createMetabox ()
 
 paintTemplateChooser ()
 
 savePost ($post_id, $post)
 
 getTemplate ($postId)
 

Data Fields

const POST_TYPE = 'page'
 
const DEFAULT_TEMPLATE = 'default'
 

Detailed Description

we will make it singlethon template name and labels shoud be registred

Member Function Documentation

createMetabox ( )
getInstance ( )
getTemplate (   $postId)
getTemplates ( )
paintTemplateChooser ( )
registerTemplate (   $name,
  $title 
)
savePost (   $post_id,
  $post 
)
self ( )

Field Documentation

const DEFAULT_TEMPLATE = 'default'
const POST_TYPE = 'page'

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