title: How to pass data from parent controller to child controller in Opencart
body: <p>I have a parent controller named 'MyClass' in this class have index function that have the below code:</p>
  
  <pre><code>            $this-&gt;children = array(
                  'common/footer',
                  'common/header'
                  'live/live'
              );
  </code></pre>
  
  <p>I want to send some data from MyClass => index function to child controller(live). This data will be dynamic.</p>
  
  <p>So please  can anyone help me on this. Thanks in advance.</p>