@@ 52-71 (lines=20) @@ | ||
49 | ||
50 | ||
51 | ||
52 | public function getSchemaProperties() |
|
53 | { |
|
54 | return array( |
|
55 | 'raw' => array( |
|
56 | 'description' => sprintf( |
|
57 | __('%s - the value in the database.', 'event_espresso'), |
|
58 | $this->get_nicename() |
|
59 | ), |
|
60 | 'type' => 'string' |
|
61 | ), |
|
62 | 'rendered' => array( |
|
63 | 'description' => sprintf( |
|
64 | __('%s - transformed for display.', 'event_espresso'), |
|
65 | $this->get_nicename() |
|
66 | ), |
|
67 | 'type' => 'string', |
|
68 | 'readonly' => true |
|
69 | ) |
|
70 | ); |
|
71 | } |
|
72 | } |
@@ 121-139 (lines=19) @@ | ||
118 | ||
119 | ||
120 | ||
121 | public function getSchemaProperties() |
|
122 | { |
|
123 | return array( |
|
124 | 'raw' => array( |
|
125 | 'description' => sprintf( |
|
126 | __('%s - the content as it exists in the database.', 'event_espresso'), |
|
127 | $this->get_nicename() |
|
128 | ), |
|
129 | 'type' => 'string' |
|
130 | ), |
|
131 | 'rendered' => array( |
|
132 | 'description' => sprintf( |
|
133 | __('%s - the content rendered for display.', 'event_espresso'), |
|
134 | $this->get_nicename() |
|
135 | ), |
|
136 | 'type' => 'string' |
|
137 | ) |
|
138 | ); |
|
139 | } |
|
140 | } |
@@ 217-235 (lines=19) @@ | ||
214 | ||
215 | ||
216 | ||
217 | public function getSchemaProperties() |
|
218 | { |
|
219 | return array( |
|
220 | 'raw' => array( |
|
221 | 'description' => sprintf( |
|
222 | __('%s - the raw value as it exists in the database as a simple float.', 'event_espresso'), |
|
223 | $this->get_nicename() |
|
224 | ), |
|
225 | 'type' => 'number' |
|
226 | ), |
|
227 | 'pretty' => array( |
|
228 | 'description' => sprintf( |
|
229 | __('%s - formatted for display in the set currency and decimal places.', 'event_espresso'), |
|
230 | $this->get_nicename() |
|
231 | ), |
|
232 | 'type' => 'string' |
|
233 | ) |
|
234 | ); |
|
235 | } |
|
236 | } |