public function getRequiredByDependenciesAction() { $id = $this->_getParam("id"); $asset = Asset::getById($id); if ($asset instanceof Asset) { $dependencies = Element_Service::getRequiredByDependenciesForFrontend($asset->getDependencies()); $this->_helper->json($dependencies); } $this->_helper->json(false); }