Using Tags in an Extension
From Joomla! Documentation
Page contents[edit]
The page contents as currently written are substantially incomprehensible. It requires not so much copy-editing as re-interpretation into every day English.
???[edit]
Also bind() on component's table class on JTable should be overridden. Metadata should be json encoded before preStoreProcess.
public function bind($array, $ignore = '')
{
if (isset($array['metadata']) && is_array($array['metadata']))
{
$registry = new JRegistry;
$registry->loadArray($array['metadata']);
$array['metadata'] = (string) $registry;
}
return parent::bind($array, $ignore);
}