Back to AssociationExtensionHelper class

Method getType

public array
getType
(mixed $typeName = '')
Get information about the type
Parameters
  • string $typeName The item type
Returns
  • array Array of item types
Since
  • 3.7.0

Method getType - Source code

/**
 * Get information about the type
 *
 * @param   string  $typeName  The item type
 *
 * @return  array  Array of item types
 *
 * @since   3.7.0
 */
public function getType($typeName = '')
{
    $fields = $this->getFieldsTemplate();
    $tables = array();
    $joins = array();
    $support = $this->getSupportTemplate();
    $title = '';
    return array('fields' => $fields, 'support' => $support, 'tables' => $tables, 'joins' => $joins, 'title' => $title);
}