Lines Matching refs:attributes
46 $attributes = [];
47 foreach($xml[0]->attributes() as $a => $b) {
48 $attributes[$a] = (string) $b;
50 if (!isset($attributes['db']) || !isset($attributes['query'])) {
51 msg('"db" and "query" attributes are required.', -1);
61 foreach ($attributes as $name => $value) {
76 if (isset($attributes['args'])) {
77 $args = array_map('trim', explode(',', $attributes['args']));
83 'db' => $attributes['db'],
84 'query_name' => $attributes['query'],