public function row(& $material, Pager & $pager = null, $module = NULL)
    {
        /** @var string $tdHTML Table cell HTML code */
        $tdHTML = '';
        $input = null;

        /** @var \samson\cms\CMSField $field Field of current table structure (Table column) */
        foreach ($this->fields as $field) {
            /** @var \samson\activerecord\materialfield $materialField Materialfield object (Table cell) */
            foreach ($material->onetomany['_materialfield'] as $materialField) {

                // If materialfield relates to field (column)
                $isRightField = $materialField->FieldID == $field->FieldID;

                // If field has same locale as passed
                $isRightLocale = $materialField->locale == $this->locale;

                // If field not localized then output it
                $isNotLocalizedField = $materialField->locale == '';

                if ($isRightField && (($isRightLocale) || ($isNotLocalizedField))) {

                    $this->headerFields[$field->id] = $field;
                    if ($field->Type < 9 || $field->Type > 10) {
                        $input = m('samsoncms_input_application')
                            ->createFieldByType($this->dbQuery, $field->Type, $materialField);
                    }
                    // If current field has select type then go to build his value
                    if ($field->Type == 4) {
                        /** @var \samsoncms\input\select\Select $input Select input type */
                        $input->build($field->Value);
                    }
                    
                    // When render the input of table then call all subscribers
                    \samsonphp\event\Event::fire('samson.cms.input.table.render', array($input));
                    
                    // Set HTML row code
                    $tdHTML .= $this->renderModule->view('table/tdView')->set($input, 'input')->output();
                    break;
                }
            }
        }

        // Render field row
        return $this->renderModule
            ->view($this->row_tmpl)
            ->set(m('samsoncms_input_text_application')->createField($this->dbQuery, $material, 'Url'), 'materialName')
            ->set($material->id, 'materialID')
            ->set($material->priority, 'priority')
            ->set($material->parent_id, 'parentID')
            ->set($this->structure->StructureID, 'structureId')
            ->set($tdHTML, 'td_view')
            ->set($pager, 'pager')
            ->output();
    }