Question:
I have a base class " class Controller_BaseC extends Controller_Template ", which has its own view "' baseV '"
and class " class Controller_IndexC extends Controller_BaseC " without view.
In the "IndexC" class, I defined the scripts "$ this-> template-> scripts = array ('media / Js / loadscript.js');"
But in the base, I also defined "$ this-> template-> scripts = array ('media / Js / statr.js');"
How can I write so that the “IndexC” scripts do not overwrite the “BaseC” scripts, but add to them?
$a = array(); $a[] = 'script.1.js'; $a[] = 'script.2.js';- E_p