BxPersonsModule.php 748 B

1234567891011121314151617181920212223242526272829303132333435
  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 Persons Persons
  7. * @ingroup UnaModules
  8. *
  9. * @{
  10. */
  11. /**
  12. * Person profiles module.
  13. */
  14. class BxPersonsModule extends BxBaseModProfileModule
  15. {
  16. function __construct(&$aModule)
  17. {
  18. parent::__construct($aModule);
  19. $this->_aSearchableNamesExcept[] = $this->_oConfig->CNF['FIELD_AUTHOR'];
  20. }
  21. public function serviceGetTimelineData()
  22. {
  23. return array();
  24. }
  25. public function servicePrepareFields ($aFieldsProfile)
  26. {
  27. return parent::_servicePrepareFields($aFieldsProfile, array(), array('fullname' => 'name'));
  28. }
  29. }
  30. /** @} */