Back to WorkflowModelInterface class

Method getTable

public \Joomla\CMS\Table\Table
getTable
(mixed $name = '', mixed $prefix = '', mixed $options = array())
Method to get a table object, load it if necessary.
Parameters
  • string $name The table name. Optional.
  • string $prefix The class prefix. Optional.
  • array $options Configuration array for model. Optional.
Returns
  • \Joomla\CMS\Table\Table A Table object
Since
  • 3.0
-
  • \Exception

Method getTable - Source code

/**
 * Method to get a table object, load it if necessary.
 *
 * @param   string  $name     The table name. Optional.
 * @param   string  $prefix   The class prefix. Optional.
 * @param   array   $options  Configuration array for model. Optional.
 *
 * @return  Table  A Table object
 *
 * @since   3.0
 * @throws  \Exception
 */
public function getTable($name = '', $prefix = '', $options = array());