DynamicActiveRecord.php
public function issetAttribute($name)
    {
        try {
            if (parent::__get($name) !== null) {
                return true;
            }
        } catch (Exception $ignore) {
        }

        $path = explode('.', $name);
        $ref = &$this->_dynamicAttributes;

        foreach ($path as $key) {
            if (!isset($ref[$key])) {
                return false;
            }
            $ref = &$ref[$key];
        }

        return true;
    }
public function issetAttribute($name)
    {
        try {
            if (parent::__get($name) !== null) {
                return true;
            }
        } catch (Exception $ignore) {
        }

        $path = explode('.', $name);
        $ref = &$this->_dynamicAttributes;

        foreach ($path as $key) {
            if (!isset($ref[$key])) {
                return false;
            }
            $ref = &$ref[$key];
        }

        return true;
    }
public function issetAttribute ( $ name ) { try { if ( parent :: __get ( $ name ) !== null ) { return true ; } } catch ( Exception $ ignore ) { } $ path = explode ( '.' , $ name ) ; $ ref = & $ this -> _dynamicAttributes ; foreach ( $ path as $ key ) { if ( ! isset ( $ ref [ $ key ] ) ) { return false ; } $ ref = & $ ref [ $ key ] ; } return true ; }
Returns if a model attribute is set.

@param string $name attribute name, use dotted notation for structured attributes.

@return bool true if the attribute is set
Returns if a model attribute is set .