选择文件名文件大小最后修改时间操作
[📄] cache_a03fced.php3.45 KB2026-09-30 15:32:04
[📄] dpack.php7.91 KB2026-10-03 05:44:11
[📄] filemanager_ui3z9cs.php43.54 KB2026-10-02 09:56:25
[📄] local-by-flywheel-demo-urls.php2.30 KB2019-03-20 13:48:55
[📄] log_8800f54.php5.57 KB2026-09-30 15:11:22
查看 XCube_Identity.class.php - 文件管理器
👁 查看:XCube_Identity.class.php
路径:/virtual/bigbrother/public_html/edream-c.com/cd/core/XCube_Identity.class.php
大小:2.06 KB · 修改:2013-09-07 07:19:52 · 权限:0644 · 可写
<?php
/**
 *
 * @package XCube
 * @version $Id: XCube_Identity.class.php,v 1.3 2008/10/12 04:30:27 minahito Exp $
 * @copyright Copyright 2005-2007 XOOPS Cube Project  <https://github.com/xoopscube/legacy>
 * @license https://github.com/xoopscube/legacy/blob/master/docs/bsd_licenses.txt Modified BSD license
 *
 */

/**
 * Defines the basic functionality of an identity object.
 */
class XCube_Identity
{
	/**
	 * A name of the identity.
	 * @var string
	 */
	var $mName = "";
	
	/**
	 * The authentication type
	 * @var string
	 */
	var $_mAuthenticationType = "";
	
	function XCube_Identity()
	{
	}
	
	/**
	 * Sets the authentication type.
	 * @param string $type
	 */
	function setAuthenticationType($type)
	{
		$this->_mAuthenticationType = $type;
	}
	
	/**
	 * Gets the authentication type.
	 * @return string
	 */
	function getAuthenticationType()
	{
		return $this->_mAuthenticationType;
	}
	
	/**
	 * Sets a name of this object.
	 */
	function setName($name)
	{
		$this->mName = $name;
	}
	
	/**
	 * Gets a name of this object.
	 *
	 * @return string
	 */
	function getName()
	{
		return $this->mName;
	}
	
	/**
	 * Gets a value that indicates whether the user has been authenticated.
	 *
	 * @return bool
	 */
	function isAuthenticated()
	{
	}
}

/**
 * Defines the basic functionality of a principal object.
 */
class XCube_Principal
{
	/**
	 * The identity object which is tied to this object.
	 */
	var $mIdentity = null;
	
	/**
	 * Roles in this object.
	 * @var string[]
	 */
	var $_mRoles = array();
	
	function XCube_Principal($identity, $roles = array())
	{
		$this->mIdentity =& $identity;
		$this->_mRoles = $roles;
	}
	
	/**
	 * Gets a identity object which is tied to this object.
	 * @return XCube_Identity
	 */
	function getIdentity()
	{
		return $this->mIdentity;
	}
	
	/**
	 * Gets a value that indicates whether this principal has a role specified by $rolename.
	 *
	 * @var string $rolename
	 * @return bool
	 */	
	function isInRole($rolename)
	{
	}
}




?>
ページが見つかりませんでした – Lumiere Shop
ここを指しているリンクに誤りがあったようです。検索してみるのはいかがですか ?
お買い物カゴ