, Alejandro Escanero Blanco * \version 0.01 * \date 25.06.2012 * \see simplePlugin */ class freeradiusGroup extends simplePlugin { var $displayHeader = TRUE; var $objectclasses = array('radiusprofile'); /*! * \brief Plugin information */ static function plInfo () { return array( 'plShortName' => _('Freeradius'), 'plDescription' => _('This Plugin is for Radius accounting based in FreeRadius'), 'plCategory' => array('group'), 'plObjectType' => array('group'), 'plProvidedAcls' => parent::generatePlProvidedAcls(self::getAttributesInfo()) ); } /*! * \brief The main function : information about attributes */ static function getAttributesInfo () { return array( // Attributes are grouped by section 'section1' => array( 'name' => _('Support 802.1x'), 'attrs' => array( new StringAttribute( _('Tunnel medium type'), // Label of the attribute _('Name of the tunnel medium type'), // Description 'radiusTunnelMediumType', // LDAP name TRUE, // Mandatory 'IEEE-802' // default value ), new StringAttribute( _('Tunnel type'), // Label of the attribute _('Name of the tunnel type'), // Description 'radiusTunnelType', // LDAP name TRUE, // Mandatory 'VLAN' // default value ), new StringAttribute( _('VLAN id'), // Label of the attribute _('VLAN identifier'), // Description 'radiusTunnelPrivateGroupId', // LDAP name FALSE, // Mandatory '' ) ) ), ); } } ?>