PageRenderTime 63ms CodeModel.GetById 36ms RepoModel.GetById 1ms app.codeStats 0ms

/application/default/controllers/IndexController.php

https://bitbucket.org/menvil/test
PHP | 31 lines | 13 code | 9 blank | 9 comment | 0 complexity | 828377a9fbf42596c60871efa1c04475 MD5 | raw file
  1. <?php
  2. /**
  3. * IndexController - The default controller class
  4. *
  5. * @author
  6. * @version
  7. */
  8. require_once 'Zend/Controller/Action.php';
  9. class IndexController extends Zend_Controller_Action {
  10. /**
  11. * The default action - show the home page
  12. */
  13. private static $user = null;
  14. public function init(){
  15. $this->user = new UserBuying();
  16. }
  17. public function indexAction() {
  18. echo '<pre>';
  19. print_r($this->user->setBranchOrder(1,'34534'));
  20. echo '</pre>';
  21. }
  22. }