Source for file Identity.php
Documentation is available at Identity.php
- 1: <?php
- 3: /**
- 4: * Nette Framework
- 5: *
- 6: * Copyright (c) 2004, 2009 David Grudl (http://davidgrudl.com)
- 7: *
- 8: * This source file is subject to the "Nette license" that is bundled
- 9: * with this package in the file license.txt.
- 10: *
- 11: * For more information please see http://nettephp.com
- 12: *
- 18: */
- 28: /**
- 29: * Default implementation of IIdentity.
- 30: *
- 34: *
- 38: */
- 40: {
- 51: /**
- 55: */
- 57: {
- 61: }
- 65: /**
- 66: * Sets the name of user.
- 69: */
- 71: {
- 74: }
- 78: /**
- 79: * Returns the name of user.
- 81: */
- 83: {
- 85: }
- 89: /**
- 90: * Sets a list of roles that the user is a member of.
- 93: */
- 95: {
- 98: }
- 102: /**
- 103: * Returns a list of roles that the user is a member of.
- 105: */
- 107: {
- 109: }
- 113: /**
- 114: * Returns an user data.
- 116: */
- 118: {
- 120: }
- 124: /**
- 125: * Sets user data value.
- 129: */
- 131: {
- 138: }
- 139: }
- 143: /**
- 144: * Returns user data value.
- 147: */
- 149: {
- 155: }
- 156: }
- 158: }