BxTimelinePageView.php 629 B

1234567891011121314151617181920212223242526
  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 Timeline Timeline
  7. * @ingroup UnaModules
  8. *
  9. * @{
  10. */
  11. /**
  12. * Profile's timeline page.
  13. */
  14. class BxTimelinePageView extends BxBaseModTextPageAuthor
  15. {
  16. public function __construct($aObject, $oTemplate = false)
  17. {
  18. if(bx_get('profile_id') === false && ($this->_oProfile = BxDolProfile::getInstance()) !== false)
  19. $this->_aProfileInfo = $this->_oProfile->getInfo();
  20. parent::__construct($aObject, $oTemplate);
  21. }
  22. }
  23. /** @} */