Go to the source code of this file.
Namespaces | |
| FDL | |
Functions | |
| modcard (Action &$action, &$ndocid, &$info=array()) | |
| setPostVars (Doc &$doc, &$info=array()) | |
| insert_file (Doc &$doc, $attrid, $strict=false) | |
| needRefreshRn (Doc &$doc) | |
| searchmorerecent ($rt, $file) | |
| specialmodcard (Action &$action, $usefor) | |
| check_max_input_vars (Action &$action, $inputNameValue= '__check_max_input_vars__') | |
| check_max_input_vars | ( | Action & | $action, |
$inputNameValue = '__check_max_input_vars__' |
|||
| ) |
Check for PHP's max_input_vars corruption.
The check is only performed if the action is executed with the variable checkMaxInputVars=yes
| Action | $action | The action that received the POSTed data |
| string | $inputNameValue | Name and value of last input to detect corruption (default is 'detect_max_input_vars') |
Definition at line 678 of file modcard.php.
Here is the call graph for this function:insert file in VAULT from HTTP upload
| Doc | $doc | |
| $attrid | ||
| bool | $strict |
| \Dcp\Core\Exception |
In our case, an empty input field is not an error but it means that the input field value has not been changed.
So, UPLOAD_ERR_NO_FILE is not a real error, but a special case in our handling of uploaded files.
Other codes are "real" errors and must be reported.
Handle successful non-empty input field uploads
Definition at line 365 of file modcard.php.
Here is the call graph for this function:| modcard | ( | Action & | $action, |
| & | $ndocid, | ||
| & | $info = array() |
||
| ) |
Modify a document
| Action | $action | |
| int | $ndocid | |
| array | $info |
Definition at line 30 of file modcard.php.
Here is the call graph for this function:| needRefreshRn | ( | Doc & | $doc | ) |
| searchmorerecent | ( | $rt, | |
| $file | |||
| ) |
Definition at line 583 of file modcard.php.
| setPostVars | ( | Doc & | $doc, |
| & | $info = array() |
||
| ) |
| specialmodcard | ( | Action & | $action, |
| $usefor | |||
| ) |