ActivityModel::_touch PHP Метод

_touch() защищенный Метод

protected _touch ( &$Data )
$Data
    protected function _touch(&$Data)
    {
        touchValue('ActivityType', $Data, 'Default');
        touchValue('ActivityUserID', $Data, Gdn::session()->UserID);
        touchValue('NotifyUserID', $Data, self::NOTIFY_PUBLIC);
        touchValue('Headline', $Data, null);
        touchValue('Story', $Data, null);
        touchValue('Notified', $Data, 0);
        touchValue('Emailed', $Data, 0);
        touchValue('Photo', $Data, null);
        touchValue('Route', $Data, null);
        if (!isset($Data['Data']) || !is_array($Data['Data'])) {
            $Data['Data'] = [];
        }
    }