Overview

Packages

  • awl
    • caldav-client-v2
    • RRule
  • davical
    • authentication
      • drivers
    • caldav
    • DAViCalSession
    • DAVTicket
    • external-bind
    • feed
    • HTTPAuthSession
    • iSchedule
    • iSchedule-POST
    • logging
    • metrics
    • Principal
    • propfind
    • PublicSession
    • Request
    • Resource
    • tzservice
  • None
  • PHP

Classes

  • PublicSession
  • Overview
  • Package
  • Class
  • Tree
  • Deprecated
  • Todo

Class PublicSession

A Class for handling a public (anonymous) session

Package: davical\PublicSession
Copyright: Morphoss Ltd
License: GNU GPL v2 or later
Author: Andrew McMillan <andrew@morphoss.com>
Located at PublicSession.php
Methods summary
public
# PublicSession( )

The constructor, which just calls the actual type configured

The constructor, which just calls the actual type configured

public boolean
# AllowedTo( string $whatever )

Checks whether a user is allowed to do something.

Checks whether a user is allowed to do something.

The check is performed to see if the user has that role.

Parameters

$whatever
string
$whatever The role we want to know if the user has.

Returns

boolean
Whether or not the user has the specified role.
Properties summary
public PublicSession::$username $username
#

Username

Username

public PublicSession::$user_no $user_no
#

User ID number

User ID number

public PublicSession::$principal_id $principal_id
#

Principal ID

Principal ID

public PublicSession::$email $email
#

User e-mail

User e-mail

public PublicSession::$fullname $fullname
#

User full name

User full name

public PublicSession::$groups $groups
#

Group rights

Group rights

DAViCal API documentation generated by ApiGen 2.8.0