passing class object as parameter to a function
<pre><code>include_once 'showData.php'; 
class dbInsertion { 
function db_insertShow($showData_obj)
{} 
</code></pre>

<p>$showData is a class object how can i get its data members in this db_insertShow function</p>

<p>here is the class showdata</p>

<pre><code>class ShowData {
  var $show_id;
  var $type_id;
  var $priority;
  var $name;
  var $sDescription;
  var $lDescription;
  var $bookinguntil;
  var $runtime;
  var $matinee;
  var $evening;
  var $pricefrom;
}
</code></pre>
