Class Zend_View_Helper_HeadLink

Description

Zend_Layout_View_Helper_HeadLink

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

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 43)

$_validAttributes

  • access: protected
string $_regKey = 'Zend_View_Helper_HeadLink' (line 48)
  • 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 57)

Constructor

Use PHP_EOL as separator

  • access: public
void __construct ()

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

append()

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

Create data item for stack

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

Create item for alternate link item

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

Create item for stylesheet link item

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

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 271)

Create HTML link element from data item

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

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 234)

prepend()

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

set()

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

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 391)

Is the linked stylesheet a duplicate?

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

Check if value is valid

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

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 Mon, 21 Jun 2010 15:26:09 -0400 by phpDocumentor 1.4.3