1 | <?php if ( !defined( 'EVENT_ESPRESSO_VERSION' ) ) { |
||
27 | class EE_Post_Meta extends EE_Base_Class { |
||
28 | |||
29 | /** |
||
30 | * @param array $props_n_values |
||
31 | * @return EE_Post_Meta|mixed |
||
32 | */ |
||
33 | public static function new_instance( $props_n_values = array() ) { |
||
37 | |||
38 | |||
39 | |||
40 | /** |
||
41 | * @param array $props_n_values |
||
42 | * @return EE_Post_Meta |
||
43 | */ |
||
44 | public static function new_instance_from_db( $props_n_values = array() ) { |
||
47 | |||
48 | |||
49 | |||
50 | /** |
||
51 | * Gets meta_id |
||
52 | * @return int |
||
53 | */ |
||
54 | function meta_id() { |
||
57 | |||
58 | |||
59 | |||
60 | /** |
||
61 | * Sets meta_id |
||
62 | * @param int $meta_id |
||
63 | * @return boolean |
||
64 | */ |
||
65 | function set_meta_id( $meta_id) { |
||
68 | /** |
||
69 | * Gets post_id |
||
70 | * @return int |
||
71 | */ |
||
72 | function post_id() { |
||
75 | |||
76 | |||
77 | |||
78 | /** |
||
79 | * Sets post_id |
||
80 | * @param int $post_id |
||
81 | * @return boolean |
||
82 | */ |
||
83 | function set_post_id( $post_id) { |
||
86 | /** |
||
87 | * Gets meta_key |
||
88 | * @return string |
||
89 | */ |
||
90 | function meta_key() { |
||
93 | |||
94 | |||
95 | |||
96 | /** |
||
97 | * Sets meta_key |
||
98 | * @param string $meta_key |
||
99 | * @return boolean |
||
100 | */ |
||
101 | function set_meta_key( $meta_key) { |
||
104 | /** |
||
105 | * Gets meta_value |
||
106 | * @return mixed |
||
107 | */ |
||
108 | function meta_value() { |
||
111 | |||
112 | |||
113 | |||
114 | /** |
||
115 | * Sets meta_value |
||
116 | * @param mixed $meta_value |
||
117 | * @return boolean |
||
118 | */ |
||
119 | function set_meta_value( $meta_value) { |
||
122 | |||
123 | |||
124 | |||
125 | |||
126 | |||
127 | |||
128 | } |
||
129 | /* End of file EE_Post_Meta.class.php */ |
||
130 | /* Location: /includes/classes/EE_Answer.class.php */ |
This check looks for a call to a parent method whose name is different than the method from which it is called.
Consider the following code:
The
getFirstName()
method in theSon
calls the wrong method in the parent class.