blob: 0c6320e48fc677eb1b807a84c5ee1220a0b6f958 (
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
|
<?php
class Home extends TPage
{
public function OnLoad($param)
{
Prado::using('System.Util.TVarDumper');
Prado::using('System.Web.Security.TSqlMembershipProvider');
Prado::using('System.Configuration.TProtectedConfiguration');
// Access by provider id
// $MembershipProvider = $this->Application->getModule('MembershipProvider')->getProvider('SqlMembershipProvider');
/* @VAR $MembershipProvider TSqlMembershipProvider */
// $MembershipProvider = $this->Application->getModule('MembershipProvider')->Provider;
// echo TVarDumper::dump($MembershipProvider,10,true);
/* @VAR $RoleProvider TSqlRoleProvider */
// $RoleProvider = $this->Application->getModule('RoleProvider')->Provider;
// echo TVarDumper::dump($RoleProvider,10,true);
/* @VAR $FormsAuthentication TFormsAuthenticationModule */
$FormsAuthentication = $this->Application->getModule('FormsAuthentication');
// echo TVarDumper::dump($FormsAuthentication,10,true);
}
}
?>
|