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

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

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