Leo Charre > WordPress-API > WordPress::Base::Data::Page

Download:
WordPress-API-1.10.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source  

NAME ^

WordPress::Base::Data::Page

SYNOPSIS ^

   use WordPress::Base::Data::Page;
  
   my $p = WordPress::Base::Data::Page->new();
   my $struct = $p->structure_data;
   $p->wp_page_parent_title('Stories');

   $p->object_type; # returns 'Page'

DESCRIPTION ^

This is just a data holder.

METHODS ^

page setget methods

wp_page_parent_title()

setget perl method argument is string

permaLink()

setget perl method argument is url

excerpt()

setget perl method argument is string

wp_password()

setget perl method argument is string

userid()

setget perl method argument is number

mt_allow_pings()

setget perl method argument is boolean

date_created_gmt()

setget perl method argument is string

dateCreated()

setget perl method argument is string

wp_page_order()

setget perl method argument is number

wp_author()

setget perl method argument is string

text_more()

setget perl method argument is string

wp_author_display_name()

setget perl method argument is string

wp_page_parent_id()

setget perl method argument is number

wp_slug()

setget perl method argument is string

link()

setget perl method argument is url

page_status()

setget perl method argument is string

mt_allow_comments()

setget perl method argument is boolean

page_id()

setget perl method argument is number

categories()

setget perl method argument is array ref

description()

setget perl method argument is string

wp_author_id()

setget perl method argument is number

title()

setget perl method argument is string

object_type()

returns 'Page'

structure_data()

Returns the data structure as you would present to a WordPress::XMLRPC set call. Perl setget method. Argument and return is hash ref.

SEE ALSO ^

WordPress::Base::Data::Object

AUTHOR ^

Leo Charre leocharre at cpan dot org

syntax highlighting: