public function __construct(&$subject, $params) { parent::__construct($subject, $params); if (!$this->fieldtypes) { $this->fieldtypes = self::$field_types; } $class = strtolower(get_class($this)); $fieldtype = str_replace('plgflexicontent_fields', '', $class); self::$field_types = array_merge(array($fieldtype), self::$field_types); $this->fieldtypes = array_merge(array($fieldtype), $this->fieldtypes); foreach ($this->fieldtypes as $ft) { JPlugin::loadLanguage('plg_flexicontent_fields_' . $fieldtype, JPATH_ADMINISTRATOR); } }
function plgFlexicontent_fieldsMinigallery(&$subject, $params) { parent::__construct($subject, $params); JPlugin::loadLanguage('plg_flexicontent_fields_minigallery', JPATH_ADMINISTRATOR); }
function plgFlexicontent_fieldsFcpagenav(&$subject, $params) { parent::__construct($subject, $params); JPlugin::loadLanguage('plg_flexicontent_fields_fcpagenav', JPATH_ADMINISTRATOR); }
function plgFlexicontent_fieldsCore(&$subject, $params) { parent::__construct($subject, $params); JPlugin::loadLanguage('plg_flexicontent_fields_core', JPATH_ADMINISTRATOR); JPlugin::loadLanguage('plg_flexicontent_fields_textarea', JPATH_ADMINISTRATOR); }
function plgFlexicontent_fieldsSharedmedia(&$subject, $params) { parent::__construct($subject, $params); JPlugin::loadLanguage('plg_flexicontent_fields_sharedmedia', JPATH_ADMINISTRATOR); }
function plgFlexicontent_fieldsExtendedWeblink(&$subject, $params) { parent::__construct($subject, $params); JPlugin::loadLanguage('plg_flexicontent_fields_extendedweblink', JPATH_ADMINISTRATOR); }