protected function submitEditFile()
    {
        if ($this->isPosted('delete') && isset($this->data_file['file_id'])) {
            $this->deleteFile();
        } else if ($this->isPosted('save') && $this->validateEditFile()) {
            if (isset($this->data_file['file_id'])) {
                $this->updateFile();
            } else {
                $this->addFile();
            }
        }
    }
protected function submitEditFile()
    {
        if ($this->isPosted('delete') && isset($this->data_file['file_id'])) {
            $this->deleteFile();
        } else if ($this->isPosted('save') && $this->validateEditFile()) {
            if (isset($this->data_file['file_id'])) {
                $this->updateFile();
            } else {
                $this->addFile();
            }
        }
    }
protected function submitEditFile ( ) { if ( $ this -> isPosted ( 'delete' ) && isset ( $ this -> data_file [ 'file_id' ] ) ) { $ this -> deleteFile ( ) ; } else if ( $ this -> isPosted ( 'save' ) && $ this -> validateEditFile ( ) ) { if ( isset ( $ this -> data_file [ 'file_id' ] ) ) { $ this -> updateFile ( ) ; } else { $ this -> addFile ( ) ; } } }
Saves an array of submitted values
Saves an array of submitted values