Back to Joomla project (class list)

Class CMSHelper - list of methods

Base Helper class.

Direct known subclasses

Package: Joomla\CMS\Helper
Copyright: (C) 2013 Open Source Matters, Inc.
License: GNU General Public License version 2 or later; see LICENSE.txt
Located at: Joomla/Helper/CMSHelper.php
Project: Joomla

Method Summary

public string
(mixed $detectBrowser = true)

Gets the current language
Parameters
  • bool $detectBrowser Flag indicating whether to use the browser language as a fallback.
Returns
  • string The language string
Since
  • 3.2
Show source code of this method: getCurrentLanguage Source Code

public int
(mixed $langCode)

Gets the associated language ID
Parameters
  • string $langCode The language code to look up
Returns
  • int The language ID
Since
  • 3.2
Show source code of this method: getLanguageId Source Code

public array
(\Joomla\CMS\Table\TableInterface $table)

Gets a row of data from a table
Parameters
  • \Joomla\CMS\Table\TableInterface $table Table instance for a row.
Returns
  • array Associative array of all columns and values for a row in a table.
Since
  • 3.2
Show source code of this method: getRowData Source Code

public \stdClass
(\Joomla\CMS\Table\TableInterface $table)

Method to get an object containing all of the table columns and values.
Parameters
  • \Joomla\CMS\Table\TableInterface $table Table object.
Returns
  • \stdClass Contains all of the columns and values.
Since
  • 3.2
Show source code of this method: getDataObject Source Code

Tags Summary

Since
3.2
OSZAR »