Example #1
0
    /**
     * constructs context instance
     * It creates debug logger if there are parameters for it
     *
     */
    protected function __construct() {
    	Gpf_Session::getAuthUser()->setAccountId(Gpf_Db_Account::DEFAULT_ACCOUNT_ID);

    	$this->initDebugLogger();

        $cookieObj = new Pap_Tracking_Cookie();
    	$cookieObj->setLogger($this->getLogger());
    }
Example #2
0
    /**
     * constructs context instance
     * It creates debug logger if there are parameters for it
     *
     */
    protected function __construct() {
        $this->setActionType($this->getActionTypeConstant());

        $this->initDebugLogger();

        $this->setRequestObject( new Pap_Tracking_Request() );
        $this->setResponseObject( new Pap_Tracking_Response() );

        $cookieObj = new Pap_Tracking_Cookie();
        $cookieObj->setLogger($this->getLogger());
        $this->setCookieObject( $cookieObj );
    }