test /application/default/controllers/IndexController.php

Language PHP Lines 32
MD5 Hash 828377a9fbf42596c60871efa1c04475 Estimated Cost $260 (why?)
Repository https://bitbucket.org/menvil/test.git View Raw File
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<?php

/**
 * IndexController - The default controller class
 * 
 * @author
 * @version 
 */

require_once 'Zend/Controller/Action.php';

class IndexController extends Zend_Controller_Action {

	/**
	 * The default action - show the home page
	 */

    private static $user = null;

    public function init(){
        $this->user = new UserBuying();
    }

    public function indexAction() {

        echo '<pre>';

        print_r($this->user->setBranchOrder(1,'34534'));
        echo '</pre>';
    }
}
Back to Top