Detailed Description
Definition at line 3 of file CopyTool.php.
Member Function Documentation
| buildCopyQuery |
( |
|
$record, |
|
|
|
$vals = array(), |
|
|
|
$force = true |
|
) |
| |
Builds an SQL query to copy the given record. This honours permissions and will only copy columns for which 'view' access is available in the source record and 'edit' access is available in the destination record.
Individual column failures (due to permissions) are recorded in the $warnings variable of this class. It will be an array of Dataface_Error objects.
- Parameters
-
| Dataface_Record | $record | The record being copied. |
| array | $valls | Values that should be placed in the copied version. |
| boolean | $force | If true this will perform the copy despite individual column warnings. |
- Returns
- string The SQL query to copy the record.
Definition at line 127 of file CopyTool.php.
| copy |
( |
|
$record, |
|
|
|
$vals = array(), |
|
|
|
$force = true |
|
) |
| |
Field Documentation
The documentation for this class was generated from the following file: