child class calling parent function does not work


Created a function in the parent class to fill up an array. When called from the child class, the child classes array remains unchanged. However using the function content itself in the child class without the function works. Am I doing something wrong here?

EDIT: Admin please delete, found the problem literally 2 seconds after posting.