public function update(Kwf_Model_Row_Interface $row, $rowData) { parent::update($row, $rowData); $rowData['row']->visible = $row->visible; $rowData['row']->name = $row->name; $rowData['row']->save(); }
public function update(Kwf_Model_Row_Interface $row, $rowData) { parent::update($row, $rowData); foreach ($this->_translateFields as $tf) { $rowData['row']->{$tf} = $row->{$tf}; } $rowData['row']->save(); }
public function update(Kwf_Model_Row_Interface $row, $rowData) { parent::update($row, $rowData); if ($row->text && $row->text != $row->original_text) { $model = Kwf_Model_Abstract::getInstance('Kwf_Component_Generator_Plugin_Tags_Trl_Model'); $trlRow = $model->getRow($row->id); if (!$trlRow) { $trlRow = $model->createRow(array('id' => $row->id)); } $trlRow->text = $row->text; $trlRow->save(); } }