lib/components/web/form/Segment.php
public function hasFile()
    {
        if ($this->model->getBehavior('Storage') !== null) {
            return true;
        }

        foreach ($this->fields as $field) {
            if ($field->hasFile()) {
                return true;
            }
        }

        return false;
    }
public function hasFile()
    {
        if ($this->model->getBehavior('Storage') !== null) {
            return true;
        }

        foreach ($this->fields as $field) {
            if ($field->hasFile()) {
                return true;
            }
        }

        return false;
    }
public function hasFile ( ) { if ( $ this -> model -> getBehavior ( 'Storage' ) !== null ) { return true ; } foreach ( $ this -> fields as $ field ) { if ( $ field -> hasFile ( ) ) { return true ; } } return false ; }
[[@doctodo method_description:hasFile]].

@return [[@doctodo return_type:hasFile]] [[@doctodo return_description:hasFile]]
[[ @doctodo method_description : hasFile ]] .