| 123456789101112131415161718192021222324252627282930 |
- <?php defined('BX_DOL') or die('hack attempt');
- /**
- * Copyright (c) UNA, Inc - https://una.io
- * MIT License - https://opensource.org/licenses/MIT
- *
- * @defgroup Persons Persons
- * @ingroup UnaModules
- *
- * @{
- */
- /**
- * Person profiles module.
- */
- class BxPersonsModule extends BxBaseModProfileModule
- {
- function __construct(&$aModule)
- {
- parent::__construct($aModule);
- $this->_aSearchableNamesExcept[] = $this->_oConfig->CNF['FIELD_AUTHOR'];
- }
- public function servicePrepareFields ($aFieldsProfile)
- {
- return parent::_servicePrepareFields($aFieldsProfile, array(), array('fullname' => 'name'));
- }
- }
- /** @} */
|