I am curious as to what the args['fields'][$k]['order']
means. I am new to PHP and so far I know that args['fields']
would mean that the user is talking about the value for the key 'fields'
in the array args
. But what does it mean to have 3 brackets (all containing something) after the args
part?
foreach($this->args['fields'] as $k => $field){
if(!isset($field['order']))
$this->args['fields'][$k]['order'] = 10;