Returns a resultset of all roles.
public get ( $OrderFields = '', $OrderDirection = 'asc', $Limit = false, $PageNumber = false ) |
echo t('Operation completed successfully'); ?> </strong> </p> <?php } ?> <p> <?php echo t('All users with an invalid or no role will be updated with the following role assignment.'); ?> </p> <?php echo $this->Form->errors(); ?> </div> <div> <ul> <li><?php $RoleModel = new RoleModel(); echo $this->Form->label('Default User Role', 'DefaultUserRole'); echo $this->Form->DropDown('DefaultUserRole', $RoleModel->get(), array('TextField' => 'Name', 'ValueField' => 'RoleID')); ?> </li> </ul> </div> <?php echo $this->Form->button('Start'); echo $this->Form->close();