summaryrefslogtreecommitdiff
path: root/demos/providers/protected/pages/Home.php
diff options
context:
space:
mode:
Diffstat (limited to 'demos/providers/protected/pages/Home.php')
-rw-r--r--demos/providers/protected/pages/Home.php27
1 files changed, 0 insertions, 27 deletions
diff --git a/demos/providers/protected/pages/Home.php b/demos/providers/protected/pages/Home.php
deleted file mode 100644
index 0c6320e4..00000000
--- a/demos/providers/protected/pages/Home.php
+++ /dev/null
@@ -1,27 +0,0 @@
-<?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);
- }
-}
-?> \ No newline at end of file