URL copied to clipboard
Connection establishment between the model and the database table
3 views
__readtime__ Min
read
1. To establish the connection between the Conf.php model file and the database table, it is required to update the persistence file Classes.php, which is already created, and the file path is employeeConfigurationExtbasePersistenceClasses.php
2. Add the code below to the file Classes.php after the code for the job.
CompanyEmployeeDomainModelConf::class => [
'tableName' => 'tx_employee_domain_model_conf',
],
3. Below is the screenshot of the file Classes.php after adding the above code.
After creating and updating the required files, toggle the extension (Deactivate once and then activate again), or go to Maintainance > Flush TYPO3 and PHP cache and click on the button “Flush cache”.
Now let’s add the back-end module config options, from where we can use the extension configurations.