Guest User

Untitled

a guest
Jan 22nd, 2018
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. <?php
  2.  
  3. // Scheduler will not work correctly with mixed case task class names. You FAIL, Scheduler!
  4. class tx_myext_task_projectimport extends tx_scheduler_Task {
  5.  
  6. public $WSDLPath = false;
  7. public $sfUsername = false;
  8. public $sfPass = false;
  9. public $pid = false;
  10.  
  11. public function execute() {
  12. $importer = t3lib_div::makeInstance("Tx_Myext_Task_ProjectImportLogic");
  13. $importer->execute($this);
  14. return true;
  15. }
  16.  
  17. public function getPid() {
  18. return $this->pid;
  19. }
  20.  
  21. public function getSfUsername() {
  22. return $this->sfUsername;
  23. }
  24.  
  25. public function getSfPass() {
  26. return $this->sfPass;
  27. }
  28.  
  29. public function getWSDLPath() {
  30. return $this->WSDLPath;
  31. }
  32.  
  33. }
  34.  
  35. ?>
Add Comment
Please, Sign In to add comment