Adam 2009-01-30
Documentation » Actiona_edit
Edits current node/user in the database using values available trough POST. If no allowed values are available, no action is done.
bool|int a_edit( [array $allowed = array('title'), array $required = true, bool $redirect = false, bool|array $files = false] )
Parameters
- array $allowed Fields allowed via POST
- array $required Fields required inside of POST
- bool $redirect Whether redirect to newly created node on success
- bool|array $files File attachment/avatar limits, false for no files allowed
Returns
- bool|int TRUE on success, error code on failure, FALSE if no allowed values were specified
Last edited 2009-02-24 16:40:27
