Source for file fetchplazes.php

Documentation is available at fetchplazes.php

  1. <?php
  2. /**
  3. * @package org.routamc.positioning
  4. * @author The Midgard Project, http://www.midgard-project.org
  5. * @version $Id: fetchplazes.php 3757 2006-07-27 14:32:42Z bergie $
  6. * @copyright The Midgard Project, http://www.midgard-project.org
  7. * @license http://www.gnu.org/licenses/lgpl.html GNU Lesser General Public License
  8. */
  9.  
  10. /**
  11. * Cron handler for fetching person position information from Plazes
  12. * @package org.routamc.positioning
  13. */
  14. class org_routamc_positioning_cron_fetchplazes extends midcom_baseclasses_components_cron_handler
  15. {
  16. function _on_initialize()
  17. {
  18. return true;
  19. }
  20.  
  21. /**
  22. * Fetches Plazes information for users
  23. */
  24. function _on_execute()
  25. {
  26. debug_push_class(__CLASS__, __FUNCTION__);
  27. debug_add('_on_execute called');
  28.  
  29. $plazes = org_routamc_positioning_importer::create('plazes');
  30. $plazes->seek_plazes_users();
  31. debug_add('Done');
  32. debug_pop();
  33. return;
  34. }
  35. }
  36. ?>

Documentation generated on Tue, 15 Aug 2006 12:31:39 +0300 by phpDocumentor 1.3.0RC3