PluginProbe
Customify / 1.3.1
Customify v1.3.1
2.10.9 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.2.7.1 1.3.0 1.3.1 1.4.0 1.4.1 1.4.2 1.5.0 1.5.1 1.5.2 1.5.3 1.5.4 1.5.5 1.5.6 1.5.7 1.6.0 1.6.0.1 1.6.5 1.7.0 1.7.1 All 77 releases
customify / core / interfaces / extended / Form.php

Form.php in Customify 1.3.1, at core/interfaces/extended/Form.php

74 lines 1.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php defined('ABSPATH') or die;
2
3 /* This file is property of Pixel Grade Media. You may NOT copy, or redistribute
4 * it. Please see the license that came with your copy for more information.
5 */
6
7 /**
8 * @package pixcustomify
9 * @category core
10 * @author Pixel Grade Team
11 * @copyright (c) 2013, Pixel Grade Media
12 */
13 interface PixCustomifyForm extends PixCustomifyHTMLElement {
14
15 /**
16 * @return static $this
17 */
18 function addtemplatepath($path);
19
20 /**
21 * @return PixCustomifyFormField
22 */
23 function field($fieldname);
24
25 /**
26 * @return static $this
27 */
28 function errors($errors);
29
30 /**
31 * @param string field name
32 * @return array error keys with messages
33 */
34 function errors_for($fieldname);
35
36 /**
37 * Autocomplete meta object passed on by the processor.
38 *
39 * @param PixCustomifyMeta autocomplete values
40 * @return static $this
41 */
42 function autocomplete(PixCustomifyMeta $autocomplete);
43
44 /**
45 * Retrieves the value registered for auto-complete. This will not fallback
46 * to the default value set in the configuration since fields are
47 * responsible for managing their internal complexity.
48 *
49 * Typically the autocomplete values are what the processor passes on to
50 * the form.
51 *
52 * @return mixed
53 */
54 function autovalue($key, $default = null);
55
56 /**
57 * @return string
58 */
59 function startform();
60
61 /**
62 * @return string
63 */
64 function endform();
65
66 /**
67 * @param string template path
68 * @param array configuration
69 * @return string
70 */
71 function fieldtemplate($templatepath, $conf = array());
72
73 } # interface
74