private function getAdminListHeader(stdClass $data)
    {
        $output = '';
        $model = $data->mainModel;

        //getting parameters which are not multilanguage
        $output .= $this->gatherHeaders($model, array_merge($this->getAutoFill(), ['id']), $data->translationsLocation, false);

        //getting parameters which are not multilanguage
        if( isset($model->multiLanguage) )
            $output .= $this->gatherHeaders($model->multiLanguage, array_merge($this->getAutoFill(), ['id', 'language_code', 'record_id']), $data->translationsLocation, true);

        return $output;
    }
private function getAdminListHeader(stdClass $data)
    {
        $output = '';
        $model = $data->mainModel;

        //getting parameters which are not multilanguage
        $output .= $this->gatherHeaders($model, array_merge($this->getAutoFill(), ['id']), $data->translationsLocation, false);

        //getting parameters which are not multilanguage
        if( isset($model->multiLanguage) )
            $output .= $this->gatherHeaders($model->multiLanguage, array_merge($this->getAutoFill(), ['id', 'language_code', 'record_id']), $data->translationsLocation, true);

        return $output;
    }
private function getAdminListHeader ( stdClass $ data ) { $ output = '' ; $ model = $ data -> mainModel ; //getting parameters which are not multilanguage $ output .= $ this -> gatherHeaders ( $ model , array_merge ( $ this -> getAutoFill ( ) , [ 'id' ] ) , $ data -> translationsLocation , false ) ; //getting parameters which are not multilanguage if ( isset ( $ model -> multiLanguage ) ) $ output .= $ this -> gatherHeaders ( $ model -> multiLanguage , array_merge ( $ this -> getAutoFill ( ) , [ 'id' , 'language_code' , 'record_id' ] ) , $ data -> translationsLocation , true ) ; return $ output ; }
Get list header from model data

@param $data
@return string
Get list header from model data