yii\mongodb\file\Cursor::__isset PHP Méthode

__isset() public méthode

PHP magic method, which is invoked on attempt of checking if a property is set.
public __isset ( string $name ) : boolean
$name string field name.
Résultat boolean whether field exists or not.
    public function __isset($name)
    {
        $cursor = $this->getInnerIterator();
        return isset($cursor->{$name});
    }