I have class A and class B. where class A extends class B.
They both have the property $fields, where $fields is an array, like:
class A fields
public $fields = array( 'id'=>'', 'product'=>'', 'productXpath'=>'', 'price'=>'', 'priceXpath'=>'', 'currency'=>'', 'website_url'=>'', 'url_id'=>'', 'day'=>'', 'month'=>'', 'year'=>'', 'time'=>'', 'status'=>'' );
class B fields
public $fields = array( 'id'=>'', 'website'=>'', 'visits'=>'', 'plugin_id'=>'', 'status'=>'' );
Only the structure and values within the array are different.
I need to access both properties, how do i do this ?