Modules\Sections\Module::findFieldValues PHP Method

findFieldValues() protected method

protected findFieldValues ( $event )
    protected function findFieldValues($event)
    {
        $arFields = ['category_id', 'parent_id'];
        $arNames = [];
        foreach ($arFields as $name) {
            $v = $event->getParams()['ttt'][$name]->values;
            if ($v) {
                $arNames[$name] = $v;
            }
        }
        return $arNames;
    }