PHP Class Prado\Web\UI\WebControls\TMetaTagCollection

TMetaTagCollection represents a collection of meta tags contained in a {@link THead} control.
Since: 3.0
Author: Qiang Xue ([email protected])
Inheritance: extends Prado\Collections\TList
Datei anzeigen Open project: pradosoft/prado

Public Methods

Method Description
findIndexByID ( $id ) : integer Finds the lowest cardinal index of the meta tag whose id is the one being looked for.
findMetaTagByID ( $id ) : TMetaTag Finds the item whose value is the one being looked for.
insertAt ( $index, $item ) Inserts an item at the specified position.

Method Details

findIndexByID() public method

Finds the lowest cardinal index of the meta tag whose id is the one being looked for.
public findIndexByID ( $id ) : integer
return integer the index of the meta tag found, -1 if not found.

findMetaTagByID() public method

Finds the item whose value is the one being looked for.
public findMetaTagByID ( $id ) : TMetaTag
return TMetaTag the meta tag found, null if not found.

insertAt() public method

This overrides the parent implementation by performing type check on the item being added.
public insertAt ( $index, $item )