[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/src/Helper/ -> CMSHelper.php (summary)

Joomla! Content Management System

Copyright: (C) 2013 Open Source Matters, Inc.
License: GNU General Public License version 2 or later; see LICENSE.txt
File Size: 136 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

CMSHelper:: (4 methods):
  getCurrentLanguage()
  getLanguageId()
  getRowData()
  getDataObject()


Class: CMSHelper  - X-Ref

Base Helper class.

getCurrentLanguage($detectBrowser = true)   X-Ref
Gets the current language

param: boolean  $detectBrowser  Flag indicating whether to use the browser language as a fallback.
return: string  The language string

getLanguageId($langCode)   X-Ref
Gets the associated language ID

param: string  $langCode  The language code to look up
return: integer  The language ID

getRowData(TableInterface $table)   X-Ref
Gets a row of data from a table

param: TableInterface  $table  Table instance for a row.
return: array  Associative array of all columns and values for a row in a table.

getDataObject(TableInterface $table)   X-Ref
Method to get an object containing all of the table columns and values.

param: TableInterface  $table  Table object.
return: \stdClass  Contains all of the columns and values.



Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer