impoved the request linking options, fixed few bugs in compiler (#52)

This commit is contained in:
dev
2017-03-08 06:49:54 +02:00
committed by GitHub
parent 30e37dcfde
commit 3953df845c
228 changed files with 1268 additions and 1019 deletions

View File

@@ -111,7 +111,7 @@ class ComponentbuilderModelFieldtype extends JModelAdmin
*
* @return mixed An array of data items on success, false on failure.
*/
public function getVzxfields()
public function getVzzfields()
{
// Get the user object.
$user = JFactory::getUser();
@@ -195,13 +195,13 @@ class ComponentbuilderModelFieldtype extends JModelAdmin
foreach ($items as $nr => &$item)
{
// convert datatype
$item->datatype = $this->selectionTranslationVzxfields($item->datatype, 'datatype');
$item->datatype = $this->selectionTranslationVzzfields($item->datatype, 'datatype');
// convert indexes
$item->indexes = $this->selectionTranslationVzxfields($item->indexes, 'indexes');
$item->indexes = $this->selectionTranslationVzzfields($item->indexes, 'indexes');
// convert null_switch
$item->null_switch = $this->selectionTranslationVzxfields($item->null_switch, 'null_switch');
$item->null_switch = $this->selectionTranslationVzzfields($item->null_switch, 'null_switch');
// convert store
$item->store = $this->selectionTranslationVzxfields($item->store, 'store');
$item->store = $this->selectionTranslationVzzfields($item->store, 'store');
}
}
@@ -215,7 +215,7 @@ class ComponentbuilderModelFieldtype extends JModelAdmin
*
* @return translatable string
*/
public function selectionTranslationVzxfields($value,$name)
public function selectionTranslationVzzfields($value,$name)
{
// Array of datatype language strings
if ($name === 'datatype')