public function getAttributes()
    {
        $attributes = parent::getAttributes();
        
        if ($this->options) {
            $attributes['remote-options'] = Convert::array2json($this->options);
        }
        
        if ($this->remoteValidator) {
            $attributes['remote-validator'] = $this->remoteValidator;
        }
        
        return $attributes;
    }
public function getAttributes()
    {
        $attributes = parent::getAttributes();
        
        if ($this->options) {
            $attributes['remote-options'] = Convert::array2json($this->options);
        }
        
        if ($this->remoteValidator) {
            $attributes['remote-validator'] = $this->remoteValidator;
        }
        
        return $attributes;
    }
public function getAttributes ( ) { $ attributes = parent :: getAttributes ( ) ; if ( $ this -> options ) { $ attributes [ 'remote-options' ] = Convert :: array2json ( $ this -> options ) ; } if ( $ this -> remoteValidator ) { $ attributes [ 'remote-validator' ] = $ this -> remoteValidator ; } return $ attributes ; }
Answers the validator attributes for the associated form field.

@return array
Answers the validator attributes for the associated form field .