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
Afficher le fichier Open project: pradosoft/prado

Méthodes publiques

Méthode 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 méthode

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

findMetaTagByID() public méthode

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

insertAt() public méthode

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