PluginProbe
Customify / 2.1.3
Customify v2.1.3
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 / HTMLElement.php

HTMLElement.php in Customify 2.1.3, at core/interfaces/HTMLElement.php

51 lines 980 B
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 /**
4 * @package pixcustomify
5 * @category core
6 * @author Pixelgrade Team
7 * @copyright (c) 2013, Pixelgrade
8 */
9 interface PixCustomifyHTMLElement extends PixCustomifyHTMLTag {
10
11 /**
12 * @param string meta key
13 * @return boolean true if key exists, false otherwise
14 */
15 function hasmeta($key);
16
17 /**
18 * @return mixed value or default
19 */
20 function getmeta($key, $default = null);
21
22 /**
23 * @return static $this
24 */
25 function setmeta($key, $value);
26
27 /**
28 * Set the key if it's not already set.
29 *
30 * @param string key
31 * @param string value
32 */
33 function ensuremeta($key, $value);
34
35 /**
36 * If the key is currently a non-array value it will be converted to an
37 * array maintaning the previous value (along with the new one).
38 *
39 * @param string name
40 * @param mixed value
41 * @return static $this
42 */
43 function addmeta($name, $value);
44
45 /**
46 * @return PixCustomifyMeta form meta
47 */
48 function meta();
49
50 } # interface
51