Skip to content

Instantly share code, notes, and snippets.

View alpacaaa's full-sized avatar
🎱
Testing in production

Marco Sampellegrini alpacaaa

🎱
Testing in production
View GitHub Profile
public function customDBMS($context)
{
$fieldName = 'changeMe'; // change this to your checkbox field name
$event = $context['event'];
$section = $event->getSource();
require_once(TOOLKIT . '/class.sectionmanager.php');
if (!$this->sectionManager)
$this->sectionManager = new SectionManager($context['parent']);