1 | <?php |
||
21 | class Parameter |
||
22 | { |
||
23 | /** |
||
24 | * Make a parameter of type Jaxon::FORM_VALUES |
||
25 | * |
||
26 | * @param string $sFormId The id of the HTML form |
||
27 | * |
||
28 | * @return RequestParameter |
||
29 | */ |
||
30 | public function form($sFormId) |
||
34 | |||
35 | /** |
||
36 | * Make a parameter of type Jaxon::INPUT_VALUE |
||
37 | * |
||
38 | * @param string $sInputId the id of the HTML input element |
||
39 | * |
||
40 | * @return RequestParameter |
||
41 | */ |
||
42 | public function input($sInputId) |
||
46 | |||
47 | /** |
||
48 | * Make a parameter of type Jaxon::CHECKED_VALUE |
||
49 | * |
||
50 | * @param string $sInputId the name of the HTML form element |
||
51 | * |
||
52 | * @return RequestParameter |
||
53 | */ |
||
54 | public function checked($sInputId) |
||
58 | |||
59 | /** |
||
60 | * Make a parameter of type Jaxon::CHECKED_VALUE |
||
61 | * |
||
62 | * @param string $sInputId the name of the HTML form element |
||
63 | * |
||
64 | * @return RequestParameter |
||
65 | */ |
||
66 | public function select($sInputId) |
||
70 | |||
71 | /** |
||
72 | * Make a parameter of type Jaxon::ELEMENT_INNERHTML |
||
73 | * |
||
74 | * @param string $sElementId the id of the HTML element |
||
75 | * |
||
76 | * @return RequestParameter |
||
77 | */ |
||
78 | public function html($sElementId) |
||
82 | |||
83 | /** |
||
84 | * Make a parameter of type Jaxon::QUOTED_VALUE |
||
85 | * |
||
86 | * @param string $sValue the value of the parameter |
||
87 | * |
||
88 | * @return RequestParameter |
||
89 | */ |
||
90 | public function string($sValue) |
||
94 | |||
95 | /** |
||
96 | * Make a parameter of type Jaxon::NUMERIC_VALUE |
||
97 | * |
||
98 | * @param numeric $nValue the value of the parameter |
||
99 | * |
||
100 | * @return RequestParameter |
||
101 | */ |
||
102 | public function numeric($nValue) |
||
106 | |||
107 | /** |
||
108 | * Make a parameter of type Jaxon::NUMERIC_VALUE |
||
109 | * |
||
110 | * @param numeric $nValue the value of the parameter |
||
111 | * |
||
112 | * @return RequestParameter |
||
113 | */ |
||
114 | public function int($nValue) |
||
118 | |||
119 | /** |
||
120 | * Make a parameter of type Jaxon::JS_VALUE |
||
121 | * |
||
122 | * @param string $sValue the javascript code of the parameter |
||
123 | * |
||
124 | * @return RequestParameter |
||
125 | */ |
||
126 | public function javascript($sValue) |
||
130 | |||
131 | /** |
||
132 | * Make a parameter of type Jaxon::JS_VALUE |
||
133 | * |
||
134 | * @param string $sValue the javascript code of the parameter |
||
135 | * |
||
136 | * @return RequestParameter |
||
137 | */ |
||
138 | public function js($sValue) |
||
142 | |||
143 | /** |
||
144 | * Make a parameter of type Jaxon::PAGE_NUMBER |
||
145 | * |
||
146 | * @return RequestParameter |
||
147 | */ |
||
148 | public function page() |
||
153 | } |
||
154 |