Primo commit: trasferimento del progetto PPEasy

This commit is contained in:
2024-09-18 10:30:50 +02:00
commit eb475f257e
4233 changed files with 1043848 additions and 0 deletions
@@ -0,0 +1,25 @@
<?php
require_once dirname(__FILE__) . '/../CommandImpl.php';
class FileMaker_Command_Duplicate_Implementation extends FileMaker_Command_Implementation
{
function FileMaker_Command_Duplicate_Implementation($V0ab34ca9, $Vc6140495, $Va6ec9c02)
{
FileMaker_Command_Implementation::FileMaker_Command_Implementation($V0ab34ca9, $Vc6140495);
$this->_recordId = $Va6ec9c02;
}
function &execute()
{
if (empty($this->_recordId)) {
$Vcb5e100e = new FileMaker_Error($this->_fm, 'Duplicate commands require a record id.');
return $Vcb5e100e;
}
$V21ffce5b = $this->_getCommandParams();
$V21ffce5b['-dup'] = true;
$V21ffce5b['-recid'] = $this->_recordId;
$V0f635d0e = $this->_fm->_execute($V21ffce5b);
if (FileMaker::isError($V0f635d0e)) {
return $V0f635d0e;
}
return $this->_getResult($V0f635d0e);
}
}