title: check and passing parameter to view in base controller (afterAction)
body: <p>for controller i want to do some post checkup after action done, and pass back to view.</p>
  
  <p>in controller</p>
  
  <pre><code> $this-&gt;render('/Company/index', array("linkArray" =&gt; $this-&gt;linkArray, "input" =&gt; $this-&gt;input, "data" =&gt; $this-&gt;data, "lang" =&gt; $this-&gt;lang));
  </code></pre>
  
  <p>in controller i already pass  $this->data.</p>
  
  <p>in base controller i declare following function</p>
  
  <pre><code> public function afterAction($action) {
  
              $checkData = $this-&gt;checkData($action-&gt;data);
  
      return parent::afterAction($action);
  }
  </code></pre>
  
  <p>1 . how can i pass $checkData to view in afterAction(base controller).</p>
  
  <p>2 .  how can i access $this->data in $action and pass to checkdata function.
  i try ->, :: ,[]  ,{} all method to access to its property but its fail</p>
  
  <p>Thx and happy new year.</p>