public function setImagesField($fieldsOptions)
    {
        if (isset(static::$imageFields)) {
            static::$imageFields = array_merge($this->getDefinedUploadFields(), $fieldsOptions);
        } else {
            $this->imagesFields = $fieldsOptions;
        }

        return $this;
    }
public function setImagesField($fieldsOptions)
    {
        if (isset(static::$imageFields)) {
            static::$imageFields = array_merge($this->getDefinedUploadFields(), $fieldsOptions);
        } else {
            $this->imagesFields = $fieldsOptions;
        }

        return $this;
    }
public function setImagesField ( $ fieldsOptions ) { if ( isset ( static :: $ imageFields ) ) { static :: $ imageFields = array_merge ( $ this -> getDefinedUploadFields ( ) , $ fieldsOptions ) ; } else { $ this -> imagesFields = $ fieldsOptions ; } return $ this ; }
Setter for model image fields

@param $fieldsOptions
@return $this
Setter for model image fields