Prado\Collections\TListItemCollection::findItemByText PHP Метод

findItemByText() публичный Метод

Finds the item whose text is the one being looked for.
public findItemByText ( $text, $includeDisabled = true ) : TListItem
Результат Prado\Web\UI\WebControls\TListItem the item found, null if not found.
    public function findItemByText($text, $includeDisabled = true)
    {
        if (($index = $this->findIndexByText($text, $includeDisabled)) >= 0) {
            return $this->itemAt($index);
        } else {
            return null;
        }
    }