UsersController::customer_support PHP Method

customer_support() public method

public customer_support ( )
    public function customer_support()
    {
        $record = $this->User->findById(SES_ID);
        $this->set('from_email', $record['User']['email']);
        if ($this->request->params['pass']['0'] == 'how_works') {
            $this->set('how_work', 1);
        } else {
            $this->set('how_work', 0);
        }
    }