function &_createACL($user_id) { require_once JPATH_SITE . DS . 'components' . DS . 'com_joomla_lms' . DS . 'includes' . DS . 'classes' . DS . 'lms.acl.php'; $JLMS_DB = JLMSFactory::getDB(); $JLMS_ACL = new JLMS_ACL($user_id, $JLMS_DB); return $JLMS_ACL; }