API Documentation

View/Helper/HeadLink.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_View
subpackage
Helper
version
$Id: HeadLink.php 20096 2010-01-06 02:05:09Z bkarwin $
Classes
Zend_View_Helper_HeadLink

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_View_Helper_HeadLink

Extends from
Zend_View_Helper_Placeholder_Container_Standalone
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_View
see
http://www.w3.org/TR/xhtml1/dtds.html
subpackage
Helper
uses
Zend_View_Helper_Placeholder_Container_Standalone
Properties
$_itemKeys
$_regKey
Methods
__construct
headLink
__call
_isValid
append
offsetSet
prepend
set
itemToString
toString
createData
createDataStylesheet
_isDuplicateStylesheet
createDataAlternate

Description

Zend_Layout_View_Helper_HeadLink

Properties

$_itemKeys

array $_itemKeys = 'array'

$_validAttributes

Details

$_itemKeys
array
visibility
protected
default
array
final
false
static
false

$_regKey

string $_regKey = 'Zend_View_Helper_HeadLink'

Details

$_regKey
string
registry key
visibility
protected
default
Zend_View_Helper_HeadLink
final
false
static
false

Methods

__call

__call( mixed $method, mixed $args ) : void

Overload method access

Creates the following virtual methods: - appendStylesheet($href, $media, $conditionalStylesheet, $extras) - offsetSetStylesheet($index, $href, $media, $conditionalStylesheet, $extras) - prependStylesheet($href, $media, $conditionalStylesheet, $extras) - setStylesheet($href, $media, $conditionalStylesheet, $extras) - appendAlternate($href, $type, $title, $extras) - offsetSetAlternate($index, $href, $type, $title, $extras) - prependAlternate($href, $type, $title, $extras) - setAlternate($href, $type, $title, $extras)

Items that may be added in the future: - Navigation? need to find docs on this - public function appendStart() - public function appendContents() - public function appendPrev() - public function appendNext() - public function appendIndex() - public function appendEnd() - public function appendGlossary() - public function appendAppendix() - public function appendHelp() - public function appendBookmark() - Other? - public function appendCopyright() - public function appendChapter() - public function appendSection() - public function appendSubsection()

Arguments
$method
mixed
$args
mixed
Details
visibility
public
final
false
static
false

__construct

__construct( ) : void

Constructor

Use PHP_EOL as separator

Details
visibility
public
final
false
static
false

_isDuplicateStylesheet

_isDuplicateStylesheet( string $uri ) : bool

Is the linked stylesheet a duplicate?

Arguments
$uri
string
Output
bool
Details
visibility
protected
final
false
static
false

_isValid

_isValid( mixed $value ) : boolean

Check if value is valid

Arguments
$value
mixed
Output
boolean
Details
visibility
protected
final
false
static
false

append

append( array $value ) : void

append()

Arguments
$value
array
Details
visibility
public
final
false
static
false

createData

createData( array $attributes ) : stdClass

Create data item for stack

Arguments
$attributes
array
Output
stdClass
Details
visibility
public
final
false
static
false

createDataAlternate

createDataAlternate( array $args ) : stdClass

Create item for alternate link item

Arguments
$args
array
Output
stdClass
Details
visibility
public
final
false
static
false

createDataStylesheet

createDataStylesheet( array $args ) : stdClass|false

Create item for stylesheet link item

Arguments
$args
array
Output
stdClass|false
Returns fals if stylesheet is a duplicate
Details
visibility
public
final
false
static
false

headLink

headLink(  $attributes = null,  $placement = Zend_View_Helper_Placeholder_Container_Abstract ) : Zend_View_Helper_HeadLink

headLink() - View Helper Method

Returns current object instance. Optionally, allows passing array of values to build link.

Arguments
$attributes
$placement
Details
visibility
public
final
false
static
false

itemToString

itemToString( stdClass $item ) : string

Create HTML link element from data item

Arguments
$item
stdClass
Output
string
Details
visibility
public
final
false
static
false

offsetSet

offsetSet( string|int $index, array $value ) : void

offsetSet()

Arguments
$index
stringint
$value
array
Details
visibility
public
final
false
static
false

prepend

prepend( array $value ) : Zend_Layout_ViewHelper_HeadLink

prepend()

Arguments
$value
array
Output
Zend_Layout_ViewHelper_HeadLink
Details
visibility
public
final
false
static
false

set

set( array $value ) : Zend_Layout_ViewHelper_HeadLink

set()

Arguments
$value
array
Output
Zend_Layout_ViewHelper_HeadLink
Details
visibility
public
final
false
static
false

toString

toString( string|int $indent = null ) : string

Render link elements as string

Arguments
$indent
stringint
Output
string
Details
visibility
public
final
false
static
false
Documentation was generated by DocBlox.