for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Widget model for dashboard - file.
*
* @package Dashboard
* @copyright YetiForce S.A.
* @license YetiForce Public License 5.0 (licenses/LicenseEN.txt or yetiforce.com)
* @author Arkadiusz Sołek <[email protected]>
*/
* Widget model for dashboard - class.
class OSSTimeControl_TimeCounterModel_Dashboard extends Vtiger_Widget_Model
{
/** {@inheritdoc} */
public $editFields = [
'isdefault' => ['label' => 'LBL_MANDATORY_WIDGET', 'purifyType' => \App\Purifier::BOOL],
'width' => ['label' => 'LBL_WIDTH', 'purifyType' => \App\Purifier::INTEGER],
'height' => ['label' => 'LBL_HEIGHT', 'purifyType' => \App\Purifier::INTEGER],
];
public function getTitle()
return \App\Language::translate($this->get('linklabel'), 'Dashboard');
}