reusable Joomla code for custom fields in our componments