示例#1
0
 /**
  * Method to get a table object, load it if necessary.
  *
  * @access  public
  * @param   string The table name. Optional.
  * @param   string The class prefix. Optional.
  * @param   array   Configuration array for model. Optional.
  * @return  object  The table
  * @since   1.5
  */
 function getTable($name = '', $prefix = 'CitruscartTable', $options = array())
 {
     JTable::addIncludePath(JPATH_ADMINISTRATOR . '/components/com_citruscart/tables');
     return parent::getTable($name, $prefix, $options);
 }