Contao\Model\Collection::__isset PHP Méthode

__isset() public méthode

Check whether a property is set
public __isset ( string $strKey ) : boolean
$strKey string The property name
Résultat boolean True if the property is set
    public function __isset($strKey)
    {
        if ($this->intIndex < 0) {
            $this->first();
        }
        return isset($this->arrModels[$this->intIndex]->{$strKey});
    }