You are here

function _datex_schema_list in Datex 7.2

List of available datex schemas

4 calls to _datex_schema_list()
datex_admin_form in ./datex.admin.inc
Provides administration form for datex module (menu callback).
datex_schema_edit_form in ./datex.admin.inc
Menu callback, Admin form for editing datex schema.
_datex_machine_name in ./datex.admin.inc
Datex form element validation for schema name.
_datex_options in ./datex_date.inc
Name of available schemas to display in form.

File

./datex.module, line 141
Convert output of date_format() to Jalali in a patched drupal installation.

Code

function _datex_schema_list() {
  $cfg = variable_get('datex_schema', array());
  return empty($cfg) ? array(
    'default',
  ) : array_keys($cfg);
}