summaryrefslogtreecommitdiff
path: root/framework/Web/Security/TSqlRoleProvider.php
blob: 7eadc2655276ff601c037b262e91583370f8d8c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
<?php
/**
 * TSqlRoleProvider class.
 * Defines the contract that PRADO implements to provide role-management services using custom role providers. 
 *
 * @author Jason Ragsdale <jrags@jasrags.net>
 * @version $Id: TSqlRoleProvider.php 1398 2006-09-08 19:31:03Z xue $
 * @package System.Web.Security
 * @since 3.1
 */
Prado::using('System.Web.Security.TRoleProvider');
class TSqlRoleProvider extends TRoleProvider 
{
	private $_connectionStringName;
	
	public function getConnectionStringName()
	{
		return $this->_connectionStringName;
	}
	public function setConnectionStringName($value)
	{
		$this->_connectionStringName = TPropertyValue::ensureString($value);
	}
	
	public function __construct()
	{
		
	}
	public function addUsersToRoles($usernames,$roleNames)
	{
		
	}
	public function createRole($roleName)
	{
		
	}
	public function deleteRole($roleName)
	{
		
	}
	public function findUsersInRole($roleName,$usernameToMatch)
	{
		
	}
	public function getAllRoles()
	{
		
	}
	public function getRolesForUser($username)
	{
		
	}
	public function getUsersIsRole($username,$roleName)
	{
		
	}
	public function isUserIsRole($username,$roleName)
	{
		
	}
	public function removeUsersFromRoles($usernames,$roleNames)
	{
		
	}
	public function roleExists($roleName)
	{
		
	}
}
?>