API Documentation

Service/Delicious/Post.php

Includes Classes 
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Service
subpackage
Delicious
version
$Id: Post.php 20096 2010-01-06 02:05:09Z bkarwin $
Classes
Zend_Service_Delicious_Post

Description

Zend Framework

LICENSE

This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.

Zend_Service_Delicious_Post

Extends from
Zend_Service_Delicious_SimplePost
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Service
subpackage
Delicious
Properties
$_service
$_others
$_date
$_shared
$_hash
Methods
__construct
setTitle
setNotes
setTags
addTag
removeTag
getDate
getOthers
getHash
getShared
setShared
delete
save
_parsePostNode

Description

Zend_Service_Delicious_Post represents a post of a user that can be edited

Properties

$_date

Zend_Date $_date = ''

Details

$_date
Zend_Date
Post date
visibility
protected
default
final
false
static
false

$_hash

string $_hash = ''

Details

$_hash
string
Post hash
visibility
protected
default
final
false
static
false

$_others

int $_others = ''

Details

$_others
int
Number of people that have the same post
visibility
protected
default
final
false
static
false

$_service

Zend_Service_Delicious $_service = ''

Service that has downloaded the post

Details

$_service
Zend_Service_Delicious
visibility
protected
default
final
false
static
false

$_shared

bool $_shared = 'true'

Details

$_shared
bool
Post share
visibility
protected
default
true
final
false
static
false

Methods

__construct

__construct( Zend_Service_Delicious $service, DOMElement|array $values ) : void

Constructs a new del.icio.us post

Arguments
$service
Zend_Service_Delicious
Service that has downloaded the post
$values
DOMElementarray
Post content
Details
visibility
public
final
false
static
false
throws

_parsePostNode

_parsePostNode( DOMElement $node ) : array

Extracts content from the DOM element of a post

Arguments
$node
DOMElement
Output
array
Details
visibility
protected
final
false
static
true

addTag

addTag( string $tag ) : Zend_Service_Delicious_Post

Add a tag

Arguments
$tag
string
Details
visibility
public
final
false
static
false

delete

delete( ) : Zend_Service_Delicious

Deletes post

Details
visibility
public
final
false
static
false

getDate

getDate( ) : Zend_Date

Getter for date

Output
Zend_Date
Details
visibility
public
final
false
static
false

getHash

getHash( ) : string

Getter for hash

Output
string
Details
visibility
public
final
false
static
false

getOthers

getOthers( ) : int

Getter for others

This property is only populated when posts are retrieved with getPosts() method. The getAllPosts() and getRecentPosts() methods will not populate this property.

Output
int
Details
visibility
public
final
false
static
false

getShared

getShared( ) : bool

Getter for shared

Output
bool
Details
visibility
public
final
false
static
false

removeTag

removeTag( string $tag ) : Zend_Service_Delicious_Post

Remove a tag

Arguments
$tag
string
Details
visibility
public
final
false
static
false

save

save( ) : DOMDocument

Saves post

Output
DOMDocument
Details
visibility
public
final
false
static
false

setNotes

setNotes( string $newNotes ) : Zend_Service_Delicious_Post

Setter for notes

Arguments
$newNotes
string
Details
visibility
public
final
false
static
false

setShared

setShared( bool $isShared ) : Zend_Service_Delicious_Post

Setter for shared

Arguments
$isShared
bool
Details
visibility
public
final
false
static
false

setTags

setTags( array $tags ) : Zend_Service_Delicious_Post

Setter for tags

Arguments
$tags
array
Details
visibility
public
final
false
static
false

setTitle

setTitle( string $newTitle ) : Zend_Service_Delicious_Post

Setter for title

Arguments
$newTitle
string
Details
visibility
public
final
false
static
false
Documentation was generated by DocBlox.