Services_Blogging
[ class tree: Services_Blogging ] [ index: Services_Blogging ] [ all elements ]

Class: Services_Blogging_Post

Source Location: /Services_Blogging-0.1.1/Services/Blogging/Post.php

Class Overview


Generic blog post object.


Author(s):

Variables

Methods


Inherited Variables

Inherited Methods


Class Details

[line 16]
Generic blog post object.

This class defines a generic post object that may be used to send or receive data in a common format to blogs.



[ Top ]


Class Variables

$driver =  null

[line 34]

The driver that will be used (optional).

If set, the __set and __get methods can check if the properties are allowed or not.

  • Access: protected



[ Top ]

$values = array(
        'id'    => null
    )

[line 23]

Array with property values.
  • Access: protected

Type:   array


[ Top ]



Method Detail

__construct (Constructor)   [line 101]

Services_Blogging_Post __construct( [Services_Blogging_Driver $driver = null])

Services_Blogging_Post constructor.
  • Access: public

Parameters:

Services_Blogging_Driver   $driver   —  Optional driver object for further checks

[ Top ]

setDriver   [line 164]

void setDriver( $driver)

Set the driver object
  • Access: public

Parameters:

   $driver   — 

[ Top ]

setId   [line 154]

void setId( int $id)

Sets the post id. This method should only be used by the driver implementations that just uploaded a post to the blog, and it got an id now.
  • Access: public

Parameters:

int   $id   —  The blog post id

[ Top ]

__get   [line 128]

void __get( $strProperty)

  • Access: public

Parameters:

   $strProperty   — 

[ Top ]

__set   [line 108]

void __set( $strProperty, $value)

  • Access: public

Parameters:

   $strProperty   — 
   $value   — 

[ Top ]


Documentation generated on Mon, 11 Mar 2019 14:57:59 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.