PluginProbe
Customify / 1.2.6
Customify v1.2.6
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 1.2.6, at core/interfaces/HTMLElement.php

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