_context = & $context; parent::__construct(); } // // Overridden methods from GridCategoryRow // /** * Category rows only have one cell and one label. This is it. * return string */ public function getCategoryLabel() { $context = $this->getContext(); $libraryFileManager = new LibraryFileManager($context->getId()); return __($libraryFileManager->getTitleKeyFromType($this->getData())); } /** * Get the context * * @return object context */ public function getContext() { return $this->_context; } /** * @copydoc GridCategoryRow::initialize() * * @param null|mixed $template */ public function initialize($request, $template = null) { parent::initialize($request, $template); $this->setId($this->getData()); } }