GB_Dependencies::get_data
Get extra item data.
Gets data associated with a registered item.
Signature
public function get_data(string
$handle,
string
$key )
Parameters
$handle
— string
Name of the item. Should be unique.$key
— string
The data key.
Returns
- mixed
- Extra item data (string), false otherwise.
Violations
Checkstyle
Line | Column | Severity | Message |
---|---|---|---|
287 | 12 | error | Method name "GB_Dependencies::get_data" is not in camel caps format |
289 | 9 | error | Inline control structures are not allowed |
292 | 9 | error | Inline control structures are not allowed |