YetiForceCompany/YetiForceCRM

View on GitHub
modules/Settings/Vtiger/actions/Save.php

Summary

Maintainability
A
0 mins
Test Coverage
F
0%
<?php

/**
 * The basic action file to save.
 *
 * @package Settings.Action
 *
 * @copyright YetiForce S.A.
 * @license YetiForce Public License 6.5 (licenses/LicenseEN.txt or yetiforce.com)
 * @author Tomasz Kur <t.kur@yetiforce.com>
 * @author Mariusz Krzaczkowski <m.krzaczkowski@yetiforce.com>
 */

/**
 * The basic action class to save.
 */
class Settings_Vtiger_Save_Action extends Settings_Vtiger_Basic_Action
{
    /** {@inheritdoc} */
    public function __construct()
    {
        Settings_Vtiger_Tracker_Model::setRecordId(\App\Request::_get('record'));
        Settings_Vtiger_Tracker_Model::addBasic('save');
        parent::__construct();
    }
}