Hello,
do you have more documentation about variable send to view ?
for exemple in app/theme/themename/views/user.php all variable are get with : get_user()['variable_name']
how can get variable from another class ? is it working with files name :
view : user.php
class : class.user.php
how can send album ID with get_album()[my_variable] from another view ?
is it the fill() class function that populate variable to view ?
I just begin to write a new theme to in future add plugins that override core with decorator. Do you any adverting about it with your framework ?
Do you have any peace of code about it ?
Thanks
do you have more documentation about variable send to view ?
for exemple in app/theme/themename/views/user.php all variable are get with : get_user()['variable_name']
how can get variable from another class ? is it working with files name :
view : user.php
class : class.user.php
how can send album ID with get_album()[my_variable] from another view ?
is it the fill() class function that populate variable to view ?
I just begin to write a new theme to in future add plugins that override core with decorator. Do you any adverting about it with your framework ?
Do you have any peace of code about it ?
Thanks