GB_Dependencies::enqueue
Queue an item or items.
Decodes handles and arguments, then queues handles and stores arguments in the class property $args. For example in extending classes, $args is appended to the item url as a query string. Note $args is NOT the $args property of items in the $registered array.
Signature
public function enqueue(mixed
$handles )
Parameters
$handles
— mixed
Item handle and argument (string) or item handles and arguments (array of strings).
Violations
Checkstyle
Line | Column | Severity | Message |
---|---|---|---|
334 | 17 | error | Inline control structures are not allowed |