joomla-component/libraries/jcb_powers/VDM.Joomla.GetBible/src/Table.php

1077 lines
27 KiB
PHP

<?php
/**
* @package GetBible
*
* @created 30th May, 2023
* @author Llewellyn van der Merwe <https://dev.vdm.io>
* @git GetBible <https://git.vdm.dev/getBible>
* @copyright Copyright (C) 2015 Vast Development Method. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
namespace VDM\Joomla\GetBible;
use VDM\Joomla\Interfaces\Tableinterface;
use VDM\Joomla\Abstraction\BaseTable;
/**
* GetBible Tables
*
* @since 2.0.1
*/
class Table extends BaseTable implements Tableinterface
{
/**
* All areas/views/tables with their field details
*
* @var array
* @since 2.0.1
**/
protected array $tables = [
'linker' => [
'name' => [
'name' => 'name',
'label' => 'COM_GETBIBLE_LINKER_NAME_LABEL',
'type' => 'text',
'title' => true,
'list' => 'linkers',
'store' => NULL,
'tab_name' => 'Details',
],
'guid' => [
'name' => 'guid',
'label' => 'COM_GETBIBLE_LINKER_GUID_LABEL',
'type' => 'text',
'title' => false,
'list' => 'linkers',
'store' => NULL,
'tab_name' => 'publishing',
],
],
'note' => [
'book_nr' => [
'name' => 'book_nr',
'label' => 'COM_GETBIBLE_NOTE_BOOK_NR_LABEL',
'type' => 'number',
'title' => false,
'list' => 'notes',
'store' => NULL,
'tab_name' => 'Details',
],
'linker' => [
'name' => 'linker',
'label' => 'COM_GETBIBLE_NOTE_LINKER_LABEL',
'type' => 'linkers',
'title' => false,
'list' => 'notes',
'store' => NULL,
'tab_name' => 'Details',
],
'access' => [
'name' => 'access',
'label' => 'COM_GETBIBLE_NOTE_ACCESS_LABEL',
'type' => 'radio',
'title' => false,
'list' => 'notes',
'store' => NULL,
'tab_name' => 'Details',
],
'guid' => [
'name' => 'guid',
'label' => 'COM_GETBIBLE_NOTE_GUID_LABEL',
'type' => 'text',
'title' => false,
'list' => 'notes',
'store' => NULL,
'tab_name' => 'publishing',
],
'note' => [
'name' => 'note',
'label' => 'COM_GETBIBLE_NOTE_NOTE_LABEL',
'type' => 'textarea',
'title' => false,
'list' => 'notes',
'store' => NULL,
'tab_name' => 'Details',
],
'verse' => [
'name' => 'verse',
'label' => 'COM_GETBIBLE_NOTE_VERSE_LABEL',
'type' => 'number',
'title' => false,
'list' => 'notes',
'store' => NULL,
'tab_name' => 'Details',
],
'chapter' => [
'name' => 'chapter',
'label' => 'COM_GETBIBLE_NOTE_CHAPTER_LABEL',
'type' => 'number',
'title' => false,
'list' => 'notes',
'store' => NULL,
'tab_name' => 'Details',
],
],
'tagged_verse' => [
'book_nr' => [
'name' => 'book_nr',
'label' => 'COM_GETBIBLE_TAGGED_VERSE_BOOK_NR_LABEL',
'type' => 'number',
'title' => false,
'list' => 'tagged_verses',
'store' => NULL,
'tab_name' => 'Details',
],
'abbreviation' => [
'name' => 'abbreviation',
'label' => 'COM_GETBIBLE_TAGGED_VERSE_ABBREVIATION_LABEL',
'type' => 'translations',
'title' => false,
'list' => 'tagged_verses',
'store' => NULL,
'tab_name' => 'Details',
],
'access' => [
'name' => 'access',
'label' => 'COM_GETBIBLE_TAGGED_VERSE_ACCESS_LABEL',
'type' => 'radio',
'title' => false,
'list' => 'tagged_verses',
'store' => NULL,
'tab_name' => 'Details',
],
'linker' => [
'name' => 'linker',
'label' => 'COM_GETBIBLE_TAGGED_VERSE_LINKER_LABEL',
'type' => 'linkers',
'title' => false,
'list' => 'tagged_verses',
'store' => NULL,
'tab_name' => 'Details',
],
'tag' => [
'name' => 'tag',
'label' => 'COM_GETBIBLE_TAGGED_VERSE_TAG_LABEL',
'type' => 'tagers',
'title' => false,
'list' => 'tagged_verses',
'store' => NULL,
'tab_name' => 'Details',
],
'guid' => [
'name' => 'guid',
'label' => 'COM_GETBIBLE_TAGGED_VERSE_GUID_LABEL',
'type' => 'text',
'title' => false,
'list' => 'tagged_verses',
'store' => NULL,
'tab_name' => 'publishing',
],
'verse' => [
'name' => 'verse',
'label' => 'COM_GETBIBLE_TAGGED_VERSE_VERSE_LABEL',
'type' => 'number',
'title' => false,
'list' => 'tagged_verses',
'store' => NULL,
'tab_name' => 'Details',
],
'chapter' => [
'name' => 'chapter',
'label' => 'COM_GETBIBLE_TAGGED_VERSE_CHAPTER_LABEL',
'type' => 'number',
'title' => false,
'list' => 'tagged_verses',
'store' => NULL,
'tab_name' => 'Details',
],
],
'prompt' => [
'name' => [
'name' => 'name',
'label' => 'COM_GETBIBLE_PROMPT_NAME_LABEL',
'type' => 'text',
'title' => true,
'list' => 'prompts',
'store' => NULL,
'tab_name' => 'Prompt',
],
'integration' => [
'name' => 'integration',
'label' => 'COM_GETBIBLE_PROMPT_INTEGRATION_LABEL',
'type' => 'list',
'title' => false,
'list' => 'prompts',
'store' => NULL,
'tab_name' => 'Prompt',
],
'cache_behaviour' => [
'name' => 'cache_behaviour',
'label' => 'COM_GETBIBLE_PROMPT_CACHE_BEHAVIOUR_LABEL',
'type' => 'list',
'title' => false,
'list' => 'prompts',
'store' => NULL,
'tab_name' => 'Prompt',
],
'abbreviation' => [
'name' => 'abbreviation',
'label' => 'COM_GETBIBLE_PROMPT_ABBREVIATION_LABEL',
'type' => 'targettranslations',
'title' => false,
'list' => 'prompts',
'store' => NULL,
'tab_name' => 'Prompt',
],
'guid' => [
'name' => 'guid',
'label' => 'COM_GETBIBLE_PROMPT_GUID_LABEL',
'type' => 'text',
'title' => false,
'list' => 'prompts',
'store' => NULL,
'tab_name' => 'publishing',
],
'model' => [
'name' => 'model',
'label' => 'COM_GETBIBLE_PROMPT_MODEL_LABEL',
'type' => 'list',
'title' => false,
'list' => 'prompts',
'store' => NULL,
'tab_name' => 'Open AI',
],
'presence_penalty' => [
'name' => 'presence_penalty',
'label' => 'COM_GETBIBLE_PROMPT_PRESENCE_PENALTY_LABEL',
'type' => 'number',
'title' => false,
'list' => 'prompts',
'store' => NULL,
'tab_name' => 'Open AI',
],
'org_token' => [
'name' => 'org_token',
'label' => 'COM_GETBIBLE_PROMPT_ORG_TOKEN_LABEL',
'type' => 'password',
'title' => false,
'list' => 'prompts',
'store' => NULL,
'tab_name' => 'Open AI',
],
'token' => [
'name' => 'token',
'label' => 'COM_GETBIBLE_PROMPT_TOKEN_LABEL',
'type' => 'password',
'title' => false,
'list' => 'prompts',
'store' => NULL,
'tab_name' => 'Open AI',
],
'n_override' => [
'name' => 'n_override',
'label' => 'COM_GETBIBLE_PROMPT_N_OVERRIDE_LABEL',
'type' => 'radio',
'title' => false,
'list' => 'prompts',
'store' => NULL,
'tab_name' => 'Open AI',
],
'cache_capacity' => [
'name' => 'cache_capacity',
'label' => 'COM_GETBIBLE_PROMPT_CACHE_CAPACITY_LABEL',
'type' => 'number',
'title' => false,
'list' => 'prompts',
'store' => NULL,
'tab_name' => 'Prompt',
],
'messages' => [
'name' => 'messages',
'label' => 'COM_GETBIBLE_PROMPT_MESSAGES_LABEL',
'type' => 'subform',
'title' => false,
'list' => 'prompts',
'store' => 'json',
'tab_name' => 'Prompt',
],
'response_retrieval' => [
'name' => 'response_retrieval',
'label' => 'COM_GETBIBLE_PROMPT_RESPONSE_RETRIEVAL_LABEL',
'type' => 'radio',
'title' => false,
'list' => 'prompts',
'store' => NULL,
'tab_name' => 'Prompt',
],
'frequency_penalty_override' => [
'name' => 'frequency_penalty_override',
'label' => 'COM_GETBIBLE_PROMPT_FREQUENCY_PENALTY_OVERRIDE_LABEL',
'type' => 'radio',
'title' => false,
'list' => 'prompts',
'store' => NULL,
'tab_name' => 'Open AI',
],
'n' => [
'name' => 'n',
'label' => 'COM_GETBIBLE_PROMPT_N_LABEL',
'type' => 'number',
'title' => false,
'list' => 'prompts',
'store' => NULL,
'tab_name' => 'Open AI',
],
'max_tokens_override' => [
'name' => 'max_tokens_override',
'label' => 'COM_GETBIBLE_PROMPT_MAX_TOKENS_OVERRIDE_LABEL',
'type' => 'radio',
'title' => false,
'list' => 'prompts',
'store' => NULL,
'tab_name' => 'Open AI',
],
'token_override' => [
'name' => 'token_override',
'label' => 'COM_GETBIBLE_PROMPT_TOKEN_OVERRIDE_LABEL',
'type' => 'radio',
'title' => false,
'list' => 'prompts',
'store' => NULL,
'tab_name' => 'Open AI',
],
'max_tokens' => [
'name' => 'max_tokens',
'label' => 'COM_GETBIBLE_PROMPT_MAX_TOKENS_LABEL',
'type' => 'number',
'title' => false,
'list' => 'prompts',
'store' => NULL,
'tab_name' => 'Open AI',
],
'ai_org_token_override' => [
'name' => 'ai_org_token_override',
'label' => 'COM_GETBIBLE_PROMPT_AI_ORG_TOKEN_OVERRIDE_LABEL',
'type' => 'radio',
'title' => false,
'list' => 'prompts',
'store' => NULL,
'tab_name' => 'Open AI',
],
'temperature_override' => [
'name' => 'temperature_override',
'label' => 'COM_GETBIBLE_PROMPT_TEMPERATURE_OVERRIDE_LABEL',
'type' => 'radio',
'title' => false,
'list' => 'prompts',
'store' => NULL,
'tab_name' => 'Open AI',
],
'presence_penalty_override' => [
'name' => 'presence_penalty_override',
'label' => 'COM_GETBIBLE_PROMPT_PRESENCE_PENALTY_OVERRIDE_LABEL',
'type' => 'radio',
'title' => false,
'list' => 'prompts',
'store' => NULL,
'tab_name' => 'Open AI',
],
'top_p_override' => [
'name' => 'top_p_override',
'label' => 'COM_GETBIBLE_PROMPT_TOP_P_OVERRIDE_LABEL',
'type' => 'radio',
'title' => false,
'list' => 'prompts',
'store' => NULL,
'tab_name' => 'Open AI',
],
'frequency_penalty' => [
'name' => 'frequency_penalty',
'label' => 'COM_GETBIBLE_PROMPT_FREQUENCY_PENALTY_LABEL',
'type' => 'number',
'title' => false,
'list' => 'prompts',
'store' => NULL,
'tab_name' => 'Open AI',
],
'top_p' => [
'name' => 'top_p',
'label' => 'COM_GETBIBLE_PROMPT_TOP_P_LABEL',
'type' => 'number',
'title' => false,
'list' => 'prompts',
'store' => NULL,
'tab_name' => 'Open AI',
],
'temperature' => [
'name' => 'temperature',
'label' => 'COM_GETBIBLE_PROMPT_TEMPERATURE_LABEL',
'type' => 'number',
'title' => false,
'list' => 'prompts',
'store' => NULL,
'tab_name' => 'Open AI',
],
],
'open_ai_response' => [
'response_id' => [
'name' => 'response_id',
'label' => 'COM_GETBIBLE_OPEN_AI_RESPONSE_RESPONSE_ID_LABEL',
'type' => 'text',
'title' => true,
'list' => 'open_ai_responses',
'store' => NULL,
'tab_name' => 'Details',
],
'prompt' => [
'name' => 'prompt',
'label' => 'COM_GETBIBLE_OPEN_AI_RESPONSE_PROMPT_LABEL',
'type' => 'prompts',
'title' => false,
'list' => 'open_ai_responses',
'store' => NULL,
'tab_name' => 'Details',
],
'response_object' => [
'name' => 'response_object',
'label' => 'COM_GETBIBLE_OPEN_AI_RESPONSE_RESPONSE_OBJECT_LABEL',
'type' => 'text',
'title' => false,
'list' => 'open_ai_responses',
'store' => NULL,
'tab_name' => 'Details',
],
'response_model' => [
'name' => 'response_model',
'label' => 'COM_GETBIBLE_OPEN_AI_RESPONSE_RESPONSE_MODEL_LABEL',
'type' => 'text',
'title' => false,
'list' => 'open_ai_responses',
'store' => NULL,
'tab_name' => 'Details',
],
'total_tokens' => [
'name' => 'total_tokens',
'label' => 'COM_GETBIBLE_OPEN_AI_RESPONSE_TOTAL_TOKENS_LABEL',
'type' => 'number',
'title' => false,
'list' => 'open_ai_responses',
'store' => NULL,
'tab_name' => 'Details',
],
'n' => [
'name' => 'n',
'label' => 'COM_GETBIBLE_OPEN_AI_RESPONSE_N_LABEL',
'type' => 'number',
'title' => false,
'list' => 'open_ai_responses',
'store' => NULL,
'tab_name' => 'Prompt',
],
'frequency_penalty' => [
'name' => 'frequency_penalty',
'label' => 'COM_GETBIBLE_OPEN_AI_RESPONSE_FREQUENCY_PENALTY_LABEL',
'type' => 'number',
'title' => false,
'list' => 'open_ai_responses',
'store' => NULL,
'tab_name' => 'Prompt',
],
'presence_penalty' => [
'name' => 'presence_penalty',
'label' => 'COM_GETBIBLE_OPEN_AI_RESPONSE_PRESENCE_PENALTY_LABEL',
'type' => 'number',
'title' => false,
'list' => 'open_ai_responses',
'store' => NULL,
'tab_name' => 'Prompt',
],
'word' => [
'name' => 'word',
'label' => 'COM_GETBIBLE_OPEN_AI_RESPONSE_WORD_LABEL',
'type' => 'text',
'title' => false,
'list' => 'open_ai_responses',
'store' => NULL,
'tab_name' => 'Bible',
],
'chapter' => [
'name' => 'chapter',
'label' => 'COM_GETBIBLE_OPEN_AI_RESPONSE_CHAPTER_LABEL',
'type' => 'text',
'title' => false,
'list' => 'open_ai_responses',
'store' => NULL,
'tab_name' => 'Bible',
],
'lcsh' => [
'name' => 'lcsh',
'label' => 'COM_GETBIBLE_OPEN_AI_RESPONSE_LCSH_LABEL',
'type' => 'text',
'title' => false,
'list' => 'open_ai_responses',
'store' => NULL,
'tab_name' => 'Bible',
],
'completion_tokens' => [
'name' => 'completion_tokens',
'label' => 'COM_GETBIBLE_OPEN_AI_RESPONSE_COMPLETION_TOKENS_LABEL',
'type' => 'number',
'title' => false,
'list' => 'open_ai_responses',
'store' => NULL,
'tab_name' => 'Details',
],
'prompt_tokens' => [
'name' => 'prompt_tokens',
'label' => 'COM_GETBIBLE_OPEN_AI_RESPONSE_PROMPT_TOKENS_LABEL',
'type' => 'number',
'title' => false,
'list' => 'open_ai_responses',
'store' => NULL,
'tab_name' => 'Details',
],
'response_created' => [
'name' => 'response_created',
'label' => 'COM_GETBIBLE_OPEN_AI_RESPONSE_RESPONSE_CREATED_LABEL',
'type' => 'text',
'title' => false,
'list' => 'open_ai_responses',
'store' => NULL,
'tab_name' => 'Details',
],
'abbreviation' => [
'name' => 'abbreviation',
'label' => 'COM_GETBIBLE_OPEN_AI_RESPONSE_ABBREVIATION_LABEL',
'type' => 'targettranslations',
'title' => false,
'list' => 'open_ai_responses',
'store' => NULL,
'tab_name' => 'Bible',
],
'language' => [
'name' => 'language',
'label' => 'COM_GETBIBLE_OPEN_AI_RESPONSE_LANGUAGE_LABEL',
'type' => 'text',
'title' => false,
'list' => 'open_ai_responses',
'store' => NULL,
'tab_name' => 'Bible',
],
'max_tokens' => [
'name' => 'max_tokens',
'label' => 'COM_GETBIBLE_OPEN_AI_RESPONSE_MAX_TOKENS_LABEL',
'type' => 'number',
'title' => false,
'list' => 'open_ai_responses',
'store' => NULL,
'tab_name' => 'Prompt',
],
'book' => [
'name' => 'book',
'label' => 'COM_GETBIBLE_OPEN_AI_RESPONSE_BOOK_LABEL',
'type' => 'text',
'title' => false,
'list' => 'open_ai_responses',
'store' => NULL,
'tab_name' => 'Bible',
],
'temperature' => [
'name' => 'temperature',
'label' => 'COM_GETBIBLE_OPEN_AI_RESPONSE_TEMPERATURE_LABEL',
'type' => 'number',
'title' => false,
'list' => 'open_ai_responses',
'store' => NULL,
'tab_name' => 'Prompt',
],
'verse' => [
'name' => 'verse',
'label' => 'COM_GETBIBLE_OPEN_AI_RESPONSE_VERSE_LABEL',
'type' => 'text',
'title' => false,
'list' => 'open_ai_responses',
'store' => NULL,
'tab_name' => 'Bible',
],
'top_p' => [
'name' => 'top_p',
'label' => 'COM_GETBIBLE_OPEN_AI_RESPONSE_TOP_P_LABEL',
'type' => 'number',
'title' => false,
'list' => 'open_ai_responses',
'store' => NULL,
'tab_name' => 'Prompt',
],
'selected_word' => [
'name' => 'selected_word',
'label' => 'COM_GETBIBLE_OPEN_AI_RESPONSE_SELECTED_WORD_LABEL',
'type' => 'text',
'title' => false,
'list' => 'open_ai_responses',
'store' => NULL,
'tab_name' => 'Bible',
],
'model' => [
'name' => 'model',
'label' => 'COM_GETBIBLE_OPEN_AI_RESPONSE_MODEL_LABEL',
'type' => 'list',
'title' => false,
'list' => 'open_ai_responses',
'store' => NULL,
'tab_name' => 'Prompt',
],
],
'open_ai_message' => [
'role' => [
'name' => 'role',
'label' => 'COM_GETBIBLE_OPEN_AI_MESSAGE_ROLE_LABEL',
'type' => 'list',
'title' => true,
'list' => 'open_ai_messages',
'store' => NULL,
'tab_name' => 'Message',
],
'open_ai_response' => [
'name' => 'open_ai_response',
'label' => 'COM_GETBIBLE_OPEN_AI_MESSAGE_OPEN_AI_RESPONSE_LABEL',
'type' => 'openairesponses',
'title' => false,
'list' => 'open_ai_messages',
'store' => NULL,
'tab_name' => 'Message',
],
'prompt' => [
'name' => 'prompt',
'label' => 'COM_GETBIBLE_OPEN_AI_MESSAGE_PROMPT_LABEL',
'type' => 'prompts',
'title' => false,
'list' => 'open_ai_messages',
'store' => NULL,
'tab_name' => 'Message',
],
'source' => [
'name' => 'source',
'label' => 'COM_GETBIBLE_OPEN_AI_MESSAGE_SOURCE_LABEL',
'type' => 'radio',
'title' => false,
'list' => 'open_ai_messages',
'store' => NULL,
'tab_name' => 'Message',
],
'content' => [
'name' => 'content',
'label' => 'COM_GETBIBLE_OPEN_AI_MESSAGE_CONTENT_LABEL',
'type' => 'textarea',
'title' => false,
'list' => 'open_ai_messages',
'store' => NULL,
'tab_name' => 'Message',
],
'name' => [
'name' => 'name',
'label' => 'COM_GETBIBLE_OPEN_AI_MESSAGE_NAME_LABEL',
'type' => 'text',
'title' => false,
'list' => 'open_ai_messages',
'store' => NULL,
'tab_name' => 'Message',
],
'index' => [
'name' => 'index',
'label' => 'COM_GETBIBLE_OPEN_AI_MESSAGE_INDEX_LABEL',
'type' => 'number',
'title' => false,
'list' => 'open_ai_messages',
'store' => NULL,
'tab_name' => 'Message',
],
],
'password' => [
'name' => [
'name' => 'name',
'label' => 'COM_GETBIBLE_PASSWORD_NAME_LABEL',
'type' => 'text',
'title' => true,
'list' => 'passwords',
'store' => NULL,
'tab_name' => 'Details',
],
'linker' => [
'name' => 'linker',
'label' => 'COM_GETBIBLE_PASSWORD_LINKER_LABEL',
'type' => 'linkers',
'title' => false,
'list' => 'passwords',
'store' => NULL,
'tab_name' => 'Details',
],
'guid' => [
'name' => 'guid',
'label' => 'COM_GETBIBLE_PASSWORD_GUID_LABEL',
'type' => 'text',
'title' => false,
'list' => 'passwords',
'store' => NULL,
'tab_name' => 'publishing',
],
'password' => [
'name' => 'password',
'label' => 'COM_GETBIBLE_PASSWORD_PASSWORD_LABEL',
'type' => 'password',
'title' => false,
'list' => 'passwords',
'store' => NULL,
'tab_name' => 'Details',
],
],
'tag' => [
'name' => [
'name' => 'name',
'label' => 'COM_GETBIBLE_TAG_NAME_LABEL',
'type' => 'text',
'title' => true,
'list' => 'tags',
'store' => NULL,
'tab_name' => 'Details',
],
'linker' => [
'name' => 'linker',
'label' => 'COM_GETBIBLE_TAG_LINKER_LABEL',
'type' => 'linkers',
'title' => false,
'list' => 'tags',
'store' => NULL,
'tab_name' => 'Details',
],
'access' => [
'name' => 'access',
'label' => 'COM_GETBIBLE_TAG_ACCESS_LABEL',
'type' => 'radio',
'title' => false,
'list' => 'tags',
'store' => NULL,
'tab_name' => 'Details',
],
'guid' => [
'name' => 'guid',
'label' => 'COM_GETBIBLE_TAG_GUID_LABEL',
'type' => 'text',
'title' => false,
'list' => 'tags',
'store' => NULL,
'tab_name' => 'publishing',
],
'description' => [
'name' => 'description',
'label' => 'COM_GETBIBLE_TAG_DESCRIPTION_LABEL',
'type' => 'textarea',
'title' => false,
'list' => 'tags',
'store' => NULL,
'tab_name' => 'Details',
],
],
'translation' => [
'translation' => [
'name' => 'translation',
'label' => 'COM_GETBIBLE_TRANSLATION_TRANSLATION_LABEL',
'type' => 'text',
'title' => true,
'list' => 'translations',
'store' => NULL,
'tab_name' => 'Details',
],
'abbreviation' => [
'name' => 'abbreviation',
'label' => 'COM_GETBIBLE_TRANSLATION_ABBREVIATION_LABEL',
'type' => 'text',
'title' => false,
'list' => 'translations',
'store' => NULL,
'tab_name' => 'Details',
],
'language' => [
'name' => 'language',
'label' => 'COM_GETBIBLE_TRANSLATION_LANGUAGE_LABEL',
'type' => 'text',
'title' => false,
'list' => 'translations',
'store' => NULL,
'tab_name' => 'Details',
],
'direction' => [
'name' => 'direction',
'label' => 'COM_GETBIBLE_TRANSLATION_DIRECTION_LABEL',
'type' => 'radio',
'title' => false,
'list' => 'translations',
'store' => NULL,
'tab_name' => 'Details',
],
'distribution_history' => [
'name' => 'distribution_history',
'label' => 'COM_GETBIBLE_TRANSLATION_DISTRIBUTION_HISTORY_LABEL',
'type' => 'subform',
'title' => false,
'list' => 'translations',
'store' => 'json',
'tab_name' => 'Details',
],
'distribution_about' => [
'name' => 'distribution_about',
'label' => 'COM_GETBIBLE_TRANSLATION_DISTRIBUTION_ABOUT_LABEL',
'type' => 'textarea',
'title' => false,
'list' => 'translations',
'store' => NULL,
'tab_name' => 'Details',
],
'distribution_license' => [
'name' => 'distribution_license',
'label' => 'COM_GETBIBLE_TRANSLATION_DISTRIBUTION_LICENSE_LABEL',
'type' => 'textarea',
'title' => false,
'list' => 'translations',
'store' => NULL,
'tab_name' => 'Details',
],
'distribution_source' => [
'name' => 'distribution_source',
'label' => 'COM_GETBIBLE_TRANSLATION_DISTRIBUTION_SOURCE_LABEL',
'type' => 'text',
'title' => false,
'list' => 'translations',
'store' => NULL,
'tab_name' => 'Details',
],
'distribution_sourcetype' => [
'name' => 'distribution_sourcetype',
'label' => 'COM_GETBIBLE_TRANSLATION_DISTRIBUTION_SOURCETYPE_LABEL',
'type' => 'text',
'title' => false,
'list' => 'translations',
'store' => NULL,
'tab_name' => 'Details',
],
'distribution_versification' => [
'name' => 'distribution_versification',
'label' => 'COM_GETBIBLE_TRANSLATION_DISTRIBUTION_VERSIFICATION_LABEL',
'type' => 'text',
'title' => false,
'list' => 'translations',
'store' => NULL,
'tab_name' => 'Details',
],
'sha' => [
'name' => 'sha',
'label' => 'COM_GETBIBLE_TRANSLATION_SHA_LABEL',
'type' => 'text',
'title' => false,
'list' => 'translations',
'store' => NULL,
'tab_name' => 'Details',
],
'encoding' => [
'name' => 'encoding',
'label' => 'COM_GETBIBLE_TRANSLATION_ENCODING_LABEL',
'type' => 'text',
'title' => false,
'list' => 'translations',
'store' => NULL,
'tab_name' => 'Details',
],
'distribution_lcsh' => [
'name' => 'distribution_lcsh',
'label' => 'COM_GETBIBLE_TRANSLATION_DISTRIBUTION_LCSH_LABEL',
'type' => 'text',
'title' => false,
'list' => 'translations',
'store' => NULL,
'tab_name' => 'Details',
],
'distribution_version_date' => [
'name' => 'distribution_version_date',
'label' => 'COM_GETBIBLE_TRANSLATION_DISTRIBUTION_VERSION_DATE_LABEL',
'type' => 'text',
'title' => false,
'list' => 'translations',
'store' => NULL,
'tab_name' => 'Details',
],
'distribution_version' => [
'name' => 'distribution_version',
'label' => 'COM_GETBIBLE_TRANSLATION_DISTRIBUTION_VERSION_LABEL',
'type' => 'text',
'title' => false,
'list' => 'translations',
'store' => NULL,
'tab_name' => 'Details',
],
'lang' => [
'name' => 'lang',
'label' => 'COM_GETBIBLE_TRANSLATION_LANG_LABEL',
'type' => 'text',
'title' => false,
'list' => 'translations',
'store' => NULL,
'tab_name' => 'Details',
],
'distribution_abbreviation' => [
'name' => 'distribution_abbreviation',
'label' => 'COM_GETBIBLE_TRANSLATION_DISTRIBUTION_ABBREVIATION_LABEL',
'type' => 'text',
'title' => false,
'list' => 'translations',
'store' => NULL,
'tab_name' => 'Details',
],
],
'book' => [
'name' => [
'name' => 'name',
'label' => 'COM_GETBIBLE_BOOK_NAME_LABEL',
'type' => 'text',
'title' => true,
'list' => 'books',
'store' => NULL,
'tab_name' => 'Details',
],
'abbreviation' => [
'name' => 'abbreviation',
'label' => 'COM_GETBIBLE_BOOK_ABBREVIATION_LABEL',
'type' => 'translations',
'title' => false,
'list' => 'books',
'store' => NULL,
'tab_name' => 'Details',
],
'nr' => [
'name' => 'nr',
'label' => 'COM_GETBIBLE_BOOK_NR_LABEL',
'type' => 'number',
'title' => false,
'list' => 'books',
'store' => NULL,
'tab_name' => 'Details',
],
'sha' => [
'name' => 'sha',
'label' => 'COM_GETBIBLE_BOOK_SHA_LABEL',
'type' => 'text',
'title' => false,
'list' => 'books',
'store' => NULL,
'tab_name' => 'Details',
],
],
'chapter' => [
'name' => [
'name' => 'name',
'label' => 'COM_GETBIBLE_CHAPTER_NAME_LABEL',
'type' => 'text',
'title' => true,
'list' => 'chapters',
'store' => NULL,
'tab_name' => 'Details',
],
'chapter' => [
'name' => 'chapter',
'label' => 'COM_GETBIBLE_CHAPTER_CHAPTER_LABEL',
'type' => 'number',
'title' => false,
'list' => 'chapters',
'store' => NULL,
'tab_name' => 'Details',
],
'book_nr' => [
'name' => 'book_nr',
'label' => 'COM_GETBIBLE_CHAPTER_BOOK_NR_LABEL',
'type' => 'number',
'title' => false,
'list' => 'chapters',
'store' => NULL,
'tab_name' => 'Details',
],
'abbreviation' => [
'name' => 'abbreviation',
'label' => 'COM_GETBIBLE_CHAPTER_ABBREVIATION_LABEL',
'type' => 'translations',
'title' => false,
'list' => 'chapters',
'store' => NULL,
'tab_name' => 'Details',
],
'sha' => [
'name' => 'sha',
'label' => 'COM_GETBIBLE_CHAPTER_SHA_LABEL',
'type' => 'text',
'title' => false,
'list' => 'chapters',
'store' => NULL,
'tab_name' => 'Details',
],
],
'verse' => [
'book_nr' => [
'name' => 'book_nr',
'label' => 'COM_GETBIBLE_VERSE_BOOK_NR_LABEL',
'type' => 'number',
'title' => true,
'list' => 'verses',
'store' => NULL,
'tab_name' => 'Details',
],
'chapter' => [
'name' => 'chapter',
'label' => 'COM_GETBIBLE_VERSE_CHAPTER_LABEL',
'type' => 'number',
'title' => false,
'list' => 'verses',
'store' => NULL,
'tab_name' => 'Details',
],
'verse' => [
'name' => 'verse',
'label' => 'COM_GETBIBLE_VERSE_VERSE_LABEL',
'type' => 'number',
'title' => false,
'list' => 'verses',
'store' => NULL,
'tab_name' => 'Details',
],
'abbreviation' => [
'name' => 'abbreviation',
'label' => 'COM_GETBIBLE_VERSE_ABBREVIATION_LABEL',
'type' => 'translations',
'title' => false,
'list' => 'verses',
'store' => NULL,
'tab_name' => 'Details',
],
'text' => [
'name' => 'text',
'label' => 'COM_GETBIBLE_VERSE_TEXT_LABEL',
'type' => 'textarea',
'title' => false,
'list' => 'verses',
'store' => NULL,
'tab_name' => 'Details',
],
'name' => [
'name' => 'name',
'label' => 'COM_GETBIBLE_VERSE_NAME_LABEL',
'type' => 'text',
'title' => false,
'list' => 'verses',
'store' => NULL,
'tab_name' => 'Details',
],
],
];
}