BxBaseModGroupsGridAdministration.php 908 B

123456789101112131415161718192021222324252627282930313233
  1. <?php defined('BX_DOL') or die('hack attempt');
  2. /**
  3. * Copyright (c) UNA, Inc - https://una.io
  4. * MIT License - https://opensource.org/licenses/MIT
  5. *
  6. * @defgroup BaseGroups Base classes for groups modules
  7. * @ingroup UnaModules
  8. *
  9. * @{
  10. */
  11. class BxBaseModGroupsGridAdministration extends BxBaseModProfileGridAdministration
  12. {
  13. public function __construct ($aOptions, $oTemplate = false)
  14. {
  15. parent::__construct ($aOptions, $oTemplate);
  16. }
  17. protected function _getCellName($mixedValue, $sKey, $aField, $aRow)
  18. {
  19. $oProfile = $this->_getProfileObject($aRow['id']);
  20. $mixedValue = $this->_oTemplate->parseHtmlByName('name_link.html', array(
  21. 'href' => $oProfile->getUrl(),
  22. 'title' => $mixedValue,
  23. 'content' => $mixedValue
  24. ));
  25. return parent::_getCellDefault($mixedValue, $sKey, $aField, $aRow);
  26. }
  27. }
  28. /** @} */