Overview

Namespaces

  • cassandra
  • None
  • PHP
  • phpcassa
    • Batch
    • Connection
    • Index
    • Iterator
    • Schema
      • DataType
    • Util
    • UUID

Classes

  • AuthenticationRequest
  • CassandraClient
  • CfDef
  • Column
  • ColumnDef
  • ColumnOrSuperColumn
  • ColumnParent
  • ColumnPath
  • Compression
  • ConsistencyLevel
  • CounterColumn
  • CounterSuperColumn
  • CqlMetadata
  • CqlPreparedResult
  • CqlResult
  • CqlResultType
  • CqlRow
  • Deletion
  • EndpointDetails
  • IndexClause
  • IndexExpression
  • IndexOperator
  • IndexType
  • KeyCount
  • KeyRange
  • KeySlice
  • KsDef
  • Mutation
  • SlicePredicate
  • SliceRange
  • SuperColumn
  • TokenRange

Interfaces

  • CassandraIf

Exceptions

  • AuthenticationException
  • AuthorizationException
  • InvalidRequestException
  • NotFoundException
  • SchemaDisagreementException
  • TimedOutException
  • UnavailableException
  • Overview
  • Namespace
  • Class
  • Tree

Class AuthorizationException

NOTE(mcslee): This currently contains a ton of duplicated code from TBase because we need to save CPU cycles and this is not yet in an extension. Ideally we'd multiply-inherit TException from both Exception and Base, but that's not possible in PHP and there are no modules either, so for now we apologetically take a trip to HackTown.

Can be called with standard Exception constructor (message, code) or with Thrift Base object constructor (spec, vals).

Exception
Extended by TException
Extended by cassandra\AuthorizationException
Namespace: cassandra
Param: mixed
$p1 Message (string) or type-spec (array)
Param: mixed
$p2 Code (integer) or values (array)
Located at thrift/packages/cassandra/cassandra.AuthorizationException.php
Methods summary
public
# __construct( mixed $vals = null )

Overrides

TException::__construct()
public
# getName( )
public
# read( mixed $input )
public
# write( mixed $output )
Methods inherited from Exception
__toString(), getCode(), getFile(), getLine(), getMessage(), getPrevious(), getTrace(), getTraceAsString()
Properties summary
public static mixed $_TSPEC
#
Properties inherited from TException
$tmethod
phpcassa API documentation generated by ApiGen 2.8.0