public function getColumnEditTag($column, $params = array()) { if ($column->isComponent()) { $moduleName = $this->getModuleName(); $componentName = $column->getName(); if (false !== ($pos = strpos($componentName, '/'))) { $moduleName = substr($componentName, 0, $pos); $componentName = substr($componentName, $pos + 1); } return "get_component('{$moduleName}', '{$componentName}', array('type' => 'edit', '{$this->getSingularName()}' => \${$this->getSingularName()}))"; } return parent::getColumnEditTag($column, $params); }