| WordPress-API documentation | Contained in the WordPress-API distribution. |
WordPress::Base::Data::Post
This is just a data holder. One object instance represents a wordpress 'post'.
setget perl method argument is url
setget perl method argument is string
setget perl method argument is number
setget perl method argument is boolean
setget perl method argument is string
setget perl method argument is string
setget perl method argument is string
setget perl method argument is url
setget perl method argument is string
setget perl method argument is boolean
setget perl method argument is array ref
setget perl method argument is string
setget perl method argument is number
setget perl method argument is string
setget perl method argument is string
setget perl method argument is string
returns 'Post'
WordPress::Base::Data::Object
Leo Charre leocharre at cpan dot org
| WordPress-API documentation | Contained in the WordPress-API distribution. |
package WordPress::Base::Data::Post; use strict; use base 'WordPress::Base::Data::Object'; __PACKAGE__->make_structure_data_accessor( qw(mt_allow_comments mt_text_more mt_keywords mt_excerpt mt_allow_pings), qw(dateCreated date_created_gmt), qw(permaLink link title description categories userid postid), qw(wp_password wp_slug wp_author_id wp_author_display_name), ); no strict 'refs'; *{post_id} = \&postid; sub object_type { return 'Post'; } 1; __END__