⇦ Back to MVCFactoryInterface classMethod createTable
public \Joomla\CMS\Table\Table
createTable
(mixed $name, mixed $prefix = '', array $config = [])
Method to load and return a table object.
Parameters
- string $name The name of the table.
- string $prefix Optional table prefix.
- array $config Optional configuration array for the table.
Returns
- \Joomla\CMS\Table\Table The table object
Since
-
Method createTable - Source code
/**
* Method to load and return a table object.
*
* @param string $name The name of the table.
* @param string $prefix Optional table prefix.
* @param array $config Optional configuration array for the table.
*
* @return \Joomla\CMS\Table\Table The table object
*
* @since 3.10.0
* @throws \Exception
*/
public function createTable($name, $prefix = '', array $config = []);