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

Class: Services_Blogging_Post

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

Class Overview


Generic blog post object.


Author(s):

Variables

Methods


Inherited Variables

Inherited Methods


Class Details

[line 31]
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 49]

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 38]

Array with property values.
  • Access: protected

Type:   array


[ Top ]



Method Detail

__construct (Constructor)   [line 134]

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 222]

void setDriver( Services_Blogging_Driver $driver)

Set the driver object
  • Access: public

Parameters:

Services_Blogging_Driver   $driver   —  Driver object that is used with this blog post

[ Top ]

setId   [line 207]

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 178]

mixed __get( string $strProperty)

Retrieves an object property
  • Return: Property value
  • Access: public

Parameters:

string   $strProperty   —  Name of property

[ Top ]

__set   [line 149]

void __set( string $strProperty, mixed $value)

Sets an object property
  • Access: public

Parameters:

string   $strProperty   —  Name of property
mixed   $value   —  New value

[ Top ]


Documentation generated on Thu, 10 Dec 2015 05:51:12 +0000 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.