YetiForceCompany/YetiForceCRM

View on GitHub
modules/OSSMailScanner/scanneractions/BindSSalesProcesses.php

Summary

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

/**
 * Mail scanner action bind SalesProcesses.
 *
 * @copyright YetiForce S.A.
 * @license YetiForce Public License 6.5 (licenses/LicenseEN.txt or yetiforce.com)
 * @author Mariusz Krzaczkowski <m.krzaczkowski@yetiforce.com>
 */
class OSSMailScanner_BindSSalesProcesses_ScannerAction extends OSSMailScanner_PrefixScannerAction_Model
{
    public $moduleName = 'SSalesProcesses';
    public $tableName = 'u_yf_ssalesprocesses';
    public $tableColumn = 'ssalesprocesses_no';

    public function process(OSSMail_Mail_Model $mail)
    {
        $this->mail = $mail;

        return parent::findAndBind();
    }
}