Class Zend_View_Helper_HeadLink

Description

Zend_Layout_View_Helper_HeadLink

Located in /View/Helper/HeadLink.php (line 35)

Zend_View_Helper_Abstract
   |
   --Zend_View_Helper_Placeholder_Container_Standalone
      |
      --Zend_View_Helper_HeadLink
Variable Summary
 array $_itemKeys
 string $_regKey
Method Summary
 void __construct ()
 void append (array $value)
 stdClass createData ( $attributes)
 stdClass createDataAlternate ( $args)
 stdClass|false createDataStylesheet ( $args)
 Zend_View_Helper_HeadLink headLink ([ $attributes = null], [ $placement = Zend_View_Helper_Placeholder_Container_Abstract::APPEND])
 string itemToString ( $item)
 void offsetSet (string|int $index, array $value)
 Zend_Layout_ViewHelper_HeadLink prepend (array $value)
 Zend_Layout_ViewHelper_HeadLink set (array $value)
 string toString ([string|int $indent = null])
 bool _isDuplicateStylesheet (string $uri)
 boolean _isValid (mixed $value)
 void __call (mixed $method, mixed $args)
Variables
array $_itemKeys = array('charset', 'href', 'hreflang', 'media', 'rel', 'rev', 'type', 'title', 'extras') (line 42)

$_validAttributes

  • access: protected
string $_regKey = 'Zend_View_Helper_HeadLink' (line 47)
  • var: registry key
  • access: protected

Redefinition of:
Zend_View_Helper_Placeholder_Container_Standalone::$_regKey
Registry key under which container registers itself

Inherited Variables

Inherited from Zend_View_Helper_Placeholder_Container_Standalone

Zend_View_Helper_Placeholder_Container_Standalone::$_autoEscape
Zend_View_Helper_Placeholder_Container_Standalone::$_container
Zend_View_Helper_Placeholder_Container_Standalone::$_registry

Inherited from Zend_View_Helper_Abstract

Zend_View_Helper_Abstract::$view
Methods
Constructor __construct (line 56)

Constructor

Use PHP_EOL as separator

  • access: public
void __construct ()

Redefinition of:
Zend_View_Helper_Placeholder_Container_Standalone::__construct()
Constructor
append (line 194)

append()

  • access: public
void append (array $value)
  • array $value
createData (line 324)

Create data item for stack

  • access: public
stdClass createData ( $attributes)
  • array $attributes
createDataAlternate (line 396)

Create item for alternate link item

  • access: public
stdClass createDataAlternate ( $args)
  • array $args
createDataStylesheet (line 336)

Create item for stylesheet link item

  • return: Returns fals if stylesheet is a duplicate
  • access: public
stdClass|false createDataStylesheet ( $args)
  • array $args
headLink (line 70)

headLink() - View Helper Method

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

  • access: public
Zend_View_Helper_HeadLink headLink ([ $attributes = null], [ $placement = Zend_View_Helper_Placeholder_Container_Abstract::APPEND])
  • array $attributes
  • $placement
itemToString (line 260)

Create HTML link element from data item

  • access: public
string itemToString ( $item)
  • stdClass $item
offsetSet (line 211)

offsetSet()

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

Redefinition of:
Zend_View_Helper_Placeholder_Container_Standalone::offsetSet()
ArrayAccess: offsetSet
prepend (line 227)

prepend()

  • access: public
Zend_Layout_ViewHelper_HeadLink prepend (array $value)
  • array $value
set (line 243)

set()

  • access: public
Zend_Layout_ViewHelper_HeadLink set (array $value)
  • array $value
toString (line 303)

Render link elements as string

  • access: public
string toString ([string|int $indent = null])
  • string|int $indent

Redefinition of:
Zend_View_Helper_Placeholder_Container_Standalone::toString()
String representation
_isDuplicateStylesheet (line 380)

Is the linked stylesheet a duplicate?

  • access: protected
bool _isDuplicateStylesheet (string $uri)
  • string $uri
_isValid (line 172)

Check if value is valid

  • access: protected
boolean _isValid (mixed $value)
  • mixed $value
__call (line 125)

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:
    • 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 appendCopyright()
      • public function appendChapter()
      • public function appendSection()
      • public function appendSubsection()

      • access: public
      void __call (mixed $method, mixed $args)
      • mixed $method
      • mixed $args

      Redefinition of:
      Zend_View_Helper_Placeholder_Container_Standalone::__call()
      Overload

      Inherited Methods

      Inherited From Zend_View_Helper_Placeholder_Container_Standalone

       Zend_View_Helper_Placeholder_Container_Standalone::__construct()
       Zend_View_Helper_Placeholder_Container_Standalone::count()
       Zend_View_Helper_Placeholder_Container_Standalone::getAutoEscape()
       Zend_View_Helper_Placeholder_Container_Standalone::getContainer()
       Zend_View_Helper_Placeholder_Container_Standalone::getIterator()
       Zend_View_Helper_Placeholder_Container_Standalone::getRegistry()
       Zend_View_Helper_Placeholder_Container_Standalone::offsetExists()
       Zend_View_Helper_Placeholder_Container_Standalone::offsetGet()
       Zend_View_Helper_Placeholder_Container_Standalone::offsetSet()
       Zend_View_Helper_Placeholder_Container_Standalone::offsetUnset()
       Zend_View_Helper_Placeholder_Container_Standalone::setAutoEscape()
       Zend_View_Helper_Placeholder_Container_Standalone::setContainer()
       Zend_View_Helper_Placeholder_Container_Standalone::setRegistry()
       Zend_View_Helper_Placeholder_Container_Standalone::toString()
       Zend_View_Helper_Placeholder_Container_Standalone::_escape()
       Zend_View_Helper_Placeholder_Container_Standalone::__call()
       Zend_View_Helper_Placeholder_Container_Standalone::__get()
       Zend_View_Helper_Placeholder_Container_Standalone::__isset()
       Zend_View_Helper_Placeholder_Container_Standalone::__set()
       Zend_View_Helper_Placeholder_Container_Standalone::__toString()
       Zend_View_Helper_Placeholder_Container_Standalone::__unset()

      Inherited From Zend_View_Helper_Abstract

       Zend_View_Helper_Abstract::direct()
       Zend_View_Helper_Abstract::setView()

      Documentation generated on Fri, 08 Jan 2010 16:16:36 -0500 by phpDocumentor 1.4.3