Back to ContentHelper class

Method getRowData

public array
getRowData
(\Joomla\CMS\Table\Table $table)
Gets a row of data from a table
Parameters
  • \Joomla\CMS\Table\Table $table Table instance for a row.
Returns
  • array Associative array of all columns and values for a row in a table.
Since
  • 3.1
Class: ContentHelper
Project: Joomla

Method getRowData - Source code

/**
 * Gets a row of data from a table
 *
 * @param   Table  $table  Table instance for a row.
 *
 * @return  array  Associative array of all columns and values for a row in a table.
 *
 * @since   3.1
 */
public function getRowData(Table $table)
{
    $data = new CMSHelper();
    return $data->getRowData($table);
}