tine20/HumanResources/Controller/AttendanceRecord.php
Rama main · réplica de lectura del repositorio original.
<?php declare(strict_types=1);
/**
* AttendanceRecord Controller
*
* @package HumanResources
* @subpackage Controller
* @license http://www.gnu.org/licenses/agpl.html AGPL Version 3
* @author Paul Mehrer <p.mehrer@metaways.de>
* @copyright Copyright (c) 2022 Metaways Infosystems GmbH (http://www.metaways.de)
*
*/
/**
* AttendanceRecord Controller
*
* @package HumanResources
* @subpackage Controller
*/
class HumanResources_Controller_AttendanceRecord extends Tinebase_Controller_Record_Abstract
{
/** @use Tinebase_Controller_SingletonTrait<HumanResources_Controller_AttendanceRecord> */
use Tinebase_Controller_SingletonTrait;
/**
* the constructor
*
* don't use the constructor. use the singleton
*/
protected function __construct() {
$this->_applicationName = HumanResources_Config::APP_NAME;
$this->_backend = new Tinebase_Backend_Sql([
Tinebase_Backend_Sql::TABLE_NAME => HumanResources_Model_AttendanceRecord::TABLE_NAME,
Tinebase_Backend_Sql::MODLOG_ACTIVE => true,
Tinebase_Backend_Sql::MODEL_NAME => HumanResources_Model_AttendanceRecord::class,
]);
$this->_modelName = HumanResources_Model_AttendanceRecord::class;
$this->_purgeRecords = false;
$this->_doContainerACLChecks = false;
$this->_duplicateCheck = false;
}
}