API Documentation

Feed/Builder/Header.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_Feed
version
$Id: Header.php 20096 2010-01-06 02:05:09Z bkarwin $
Classes
Zend_Feed_Builder_Header

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_Feed_Builder_Header

Extends from
ArrayObject
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_Feed
Methods
__construct
__get
__set
__isset
__unset
setLastUpdate
setPublishedDate
setDescription
setAuthor
setEmail
setCopyright
setImage
setGenerator
setLanguage
setWebmaster
setTtl
setRating
setCloud
setTextInput
setSkipHours
setSkipDays
setITunes

Description

Header of a custom build feed

Classes implementing the Zend_Feed_Builder_Interface interface uses this class to describe the header of a feed

Methods

__construct

__construct( string $title, string $link, string $charset = utf-8 ) : void

Constructor

Arguments
$title
string
title of the feed
$link
string
canonical url of the feed
$charset
string
charset of the textual data
Details
visibility
public
final
false
static
false

__get

__get( string $name ) : mixed

Read only properties accessor

Arguments
$name
string
property to read
Output
mixed
Details
visibility
public
final
false
static
false

__isset

__isset( string $key ) : boolean

Isset accessor

Arguments
$key
string
Output
boolean
Details
visibility
public
final
false
static
false

__set

__set( string $name, mixed $value ) : void

Write properties accessor

Arguments
$name
string
name of the property to set
$value
mixed
value to set
Details
visibility
public
final
false
static
false

__unset

__unset( string $key ) : void

Unset accessor

Arguments
$key
string
Details
visibility
public
final
false
static
false

setAuthor

setAuthor( string $author ) : Zend_Feed_Builder_Header

Sets the author of the feed

Arguments
$author
string
Details
visibility
public
final
false
static
false

setCloud

setCloud( string|Zend_Uri_Http $uri, string $procedure, string $protocol ) : Zend_Feed_Builder_Header

Cloud to be notified of updates of the feed Ignored if atom is used

Arguments
$uri
stringZend_Uri_Http
$procedure
string
procedure to call, e.g. myCloud.rssPleaseNotify
$protocol
string
protocol to use, e.g. soap or xml-rpc
Details
visibility
public
final
false
static
false
throws

setCopyright

setCopyright( string $copyright ) : Zend_Feed_Builder_Header

Sets the copyright notice

Arguments
$copyright
string
Details
visibility
public
final
false
static
false

setDescription

setDescription( string $description ) : Zend_Feed_Builder_Header

Short description of the feed

Arguments
$description
string
Details
visibility
public
final
false
static
false

setEmail

setEmail( string $email ) : Zend_Feed_Builder_Header

Sets the author's email

Arguments
$email
string
Details
visibility
public
final
false
static
false
throws

setGenerator

setGenerator( string $generator ) : Zend_Feed_Builder_Header

Sets the generator of the feed

Arguments
$generator
string
Details
visibility
public
final
false
static
false

setITunes

setITunes( Zend_Feed_Builder_Header_Itunes $itunes ) : Zend_Feed_Builder_Header

Sets the iTunes rss extension

Arguments
$itunes
Zend_Feed_Builder_Header_Itunes
Details
visibility
public
final
false
static
false

setImage

setImage( string $image ) : Zend_Feed_Builder_Header

Sets the image of the feed

Arguments
$image
string
Details
visibility
public
final
false
static
false

setLanguage

setLanguage( string $language ) : Zend_Feed_Builder_Header

Sets the language of the feed

Arguments
$language
string
Details
visibility
public
final
false
static
false

setLastUpdate

setLastUpdate( int $lastUpdate ) : Zend_Feed_Builder_Header

Timestamp of the update date

Arguments
$lastUpdate
int
Details
visibility
public
final
false
static
false

setPublishedDate

setPublishedDate( int $published ) : Zend_Feed_Builder_Header

Timestamp of the publication date

Arguments
$published
int
Details
visibility
public
final
false
static
false

setRating

setRating( string $rating ) : Zend_Feed_Builder_Header

PICS rating for the feed Ignored if atom is used

Arguments
$rating
string
Details
visibility
public
final
false
static
false

setSkipDays

setSkipDays( array $days ) : Zend_Feed_Builder_Header

Hint telling aggregators which days they can skip Ignored if atom is used

Arguments
$days
array
list of days to skip, e.g. Monday
Details
visibility
public
final
false
static
false
throws

setSkipHours

setSkipHours( array $hours ) : Zend_Feed_Builder_Header

Hint telling aggregators which hours they can skip Ignored if atom is used

Arguments
$hours
array
list of hours in 24 format
Details
visibility
public
final
false
static
false
throws

setTextInput

setTextInput( string $title, string $description, string $name, string $link ) : Zend_Feed_Builder_Header

A text input box that can be displayed with the feed Ignored if atom is used

Arguments
$title
string
the label of the Submit button in the text input area
$description
string
explains the text input area
$name
string
the name of the text object in the text input area
$link
string
the URL of the CGI script that processes text input requests
Details
visibility
public
final
false
static
false

setTtl

setTtl( int $ttl ) : Zend_Feed_Builder_Header

How long in minutes a feed can be cached before refreshing Ignored if atom is used

Arguments
$ttl
int
Details
visibility
public
final
false
static
false
throws

setWebmaster

setWebmaster( string $webmaster ) : Zend_Feed_Builder_Header

Email address for person responsible for technical issues Ignored if atom is used

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