1 | <?php |
||
27 | trait Submittable |
||
28 | { |
||
29 | |||
30 | /** |
||
31 | * Sets the 'name' attribute |
||
32 | * @param string $name |
||
33 | */ |
||
34 | public function setName($name) |
||
38 | |||
39 | /** |
||
40 | * Sets the 'form' attribute. This attribute associates the submittable |
||
41 | * element with the form element with the correspoding name. |
||
42 | * |
||
43 | * @param string $formName |
||
44 | */ |
||
45 | public function setForm($formName) |
||
49 | |||
50 | /** |
||
51 | * @param string $strKey |
||
52 | * @param mixed $mixValue |
||
53 | */ |
||
54 | abstract public function setAttribute($strKey, $mixValue); |
||
55 | } |
||
56 |