Class TMetaTagCollection
TMetaTagCollection class
TMetaTagCollection represents a collection of meta tags contained in a THead control.
| Method Summary |
|
integer
|
Finds the lowest cardinal index of the meta tag whose id is the one being looked for.
|
|
TMetaTag
|
Finds the item whose value is the one being looked for.
|
|
void
|
Inserts an item at the specified position.
|
| Methods Inherited From TList |
|
TList::add(), TList::clear(), TList::contains(), TList::copyFrom(), TList::count(), TList::getCount(), TList::getIterator(), TList::getReadOnly(), TList::indexOf(), TList::insertAt(), TList::itemAt(), TList::mergeWith(), TList::offsetExists(), TList::offsetGet(), TList::offsetSet(), TList::offsetUnset(), TList::remove(), TList::removeAt(), TList::setReadOnly(), TList::toArray()
|
| Methods Inherited From TComponent |
|
TComponent::addParsedObject(), TComponent::attachEventHandler(), TComponent::canGetProperty(), TComponent::canSetProperty(), TComponent::createdOnTemplate(), TComponent::detachEventHandler(), TComponent::evaluateExpression(), TComponent::evaluateStatements(), TComponent::getEventHandlers(), TComponent::getSubProperty(), TComponent::hasEvent(), TComponent::hasEventHandler(), TComponent::hasProperty(), TComponent::raiseEvent(), TComponent::setSubProperty(), TComponent::__get(), TComponent::__set()
|
| Method Details |
findIndexByID
| public integer findIndexByID |
(string $id ) |
Finds the lowest cardinal index of the meta tag whose id is the one being looked for.
| Input |
| string | $id | the ID of the meta tag to be looked for |
| Output |
|
integer
| the index of the meta tag found, -1 if not found. |
| Exception |
|
findMetaTagByID
| public TMetaTag findMetaTagByID |
(string $id ) |
Finds the item whose value is the one being looked for.
| Input |
| string | $id | the id of the meta tag to be looked for |
| Output |
|
TMetaTag
| the meta tag found, null if not found. |
| Exception |
|
insertAt
| public void insertAt |
(integer $index , mixed $item ) |
Inserts an item at the specified position.
This overrides the parent implementation by performing type check on the item being added.
| Input |
| integer | $index | the speicified position. |
| mixed | $item | new item |
| Output |
| Exception |
| throws | TInvalidDataTypeException if the item to be inserted is not a TMetaTag |
|
|