示例#1
0
    }
    private function __selfregistarion()
    {
        require_once 'clinique_users.php';
        $username = required_param('username', PARAM_RAW_TRIMMED);
        $password = required_param('password', PARAM_RAW_TRIMMED);
        $firstname = required_param('firstname', PARAM_RAW_TRIMMED);
        $lastname = required_param('lastname', PARAM_RAW_TRIMMED);
        $email = required_param('email', PARAM_RAW_TRIMMED);
        $city = required_param('region', PARAM_RAW_TRIMMED);
        $country = required_param('country', PARAM_RAW_TRIMMED);
        $store = required_param('store', PARAM_RAW_TRIMMED);
        $retailer = required_param('retailer', PARAM_RAW_TRIMMED);
        $lang = required_param('lang', PARAM_RAW_TRIMMED);
        $regionkey = required_param('regionkey', PARAM_RAW_TRIMMED);
        $jobtitle = required_param('jobtitle', PARAM_RAW_TRIMMED);
        $insertflag = optional_param('insertflag', false, PARAM_RAW_TRIMMED);
        CliniqueUser::__CreateUser($username, $password, $firstname, $lastname, $email, $city, $country, $store, $retailer, $lang, $regionkey, $jobtitle, $insertflag);
    }
    private function __cascadedropdown()
    {
        require_once 'clinique_cascade_dropdown.php';
        $type = required_param('type', PARAM_RAW_TRIMMED);
        $region = optional_param('region', '', PARAM_RAW_TRIMMED);
        $country = optional_param('country', '', PARAM_RAW_TRIMMED);
        $retailer = optional_param('retailer', '', PARAM_RAW_TRIMMED);
        CascadeDropdown::__cascadedatas($type, $region, $country, $retailer);
    }
}
CliniqueServices::invokeService();
//$s = new CliniqueServices();$s->invokeService();