XenForo
Administrative
- Thread starter
- Admin
- #1
I'm not sure of the terminology of this, but I'll try my best to explain.
CoreClass: filter()
return ['a']
result = ['a']
AddonA: extends CoreClass: filter()
$parent = parent::filter();
$parent[] = 'b';
return $parent;
result = ['a', 'b']
AddonB: extends AddonA: filter()
$parent = parent::filter();
$parent[] = 'c';
return $parent;
result = ['a', 'b', 'c']
Ok this is simple enough - however what if I want to totally skip over AddonA's filter function...
Read more
ادامه مطلب...
CoreClass: filter()
return ['a']
result = ['a']
AddonA: extends CoreClass: filter()
$parent = parent::filter();
$parent[] = 'b';
return $parent;
result = ['a', 'b']
AddonB: extends AddonA: filter()
$parent = parent::filter();
$parent[] = 'c';
return $parent;
result = ['a', 'b', 'c']
Ok this is simple enough - however what if I want to totally skip over AddonA's filter function...
Read more
ادامه مطلب...