* @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 */ 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; } }