[AskPythia] element index

Package indexes

All elements
a b c d e g i l m n p s v w _
_
top
__construct
WURFLDevice::__construct() in WURFLDevice.php
Default constructor of a Device identified by the given User-Agent.
__construct
WURFLPrepareDatabase::__construct() in WURFLPrepareDatabase.php
Set all the needed variables.
__construct
BasicPropertyValues::__construct() in basicPropertyValues.php
Creates an instance of the BasicPropertyValues class.
__construct
BasicPropertyValue::__construct() in basicPropertyValue.php
Creates an instance of the BasicPropertyValue class initialized with the given property reference and value.
__construct
BasicPropertyName::__construct() in basicPropertyName.php
Builds a property name using the given namespace and local name.
__construct
BasicPropertyRef::__construct() in basicPropertyRef.php
Creates an instance of the BasicPropertyRef class initialized with the given @{link PropertyName} and aspect name.
__construct
BasicEvidence::__construct() in basicEvidence.php
Creates an instance of the BasicEvidence class.
a
top
add
BasicPropertyValues::add() in basicPropertyValues.php
Adds the given property value to the list.
$ASPECT_NOT_RECOGNIZED
b
top
BasicEvidence
BasicEvidence in basicEvidence.php
A basic Evidence consists of HTTP header name and value pairs.
BasicPropertyName
BasicPropertyName in basicPropertyName.php
A basic PropertyName holds the IRI of the vocabulary associated with a property and its local name within that vocabulary.
BasicPropertyRef
BasicPropertyRef in basicPropertyRef.php
A basic PropertyRef holds the IRI of the vocabulary associated with a property and an aspect, along with the property's local name and aspect name within that vocabulary.
BasicPropertyValue
BasicPropertyValue in basicPropertyValue.php
A basic PropertyValue holds a PropertyRef and string pair, where the string represents the value of the property identified by the PropertyRef key.
BasicPropertyValues
BasicPropertyValues in basicPropertyValues.php
A basic PropertyValues holds a list of PropertyValue instances.
BasicService
BasicService in basicService.php
The basic Service class is an abstract implementation of the
basicEvidence.php
basicEvidence.php in basicEvidence.php
basicPropertyName.php
basicPropertyName.php in basicPropertyName.php
basicPropertyRef.php
basicPropertyRef.php in basicPropertyRef.php
basicPropertyValue.php
basicPropertyValue.php in basicPropertyValue.php
basicPropertyValues.php
basicPropertyValues.php in basicPropertyValues.php
basicService.php
basicService.php in basicService.php
c
top
$CORE_PROPERTIES
WURFLService::$CORE_PROPERTIES in WURFLService.php
The list of properties supported by this implementation and defined in the DDR Core Vocabulary standard.
$CORE_VOCABULARY
WURFLService::$CORE_VOCABULARY in WURFLService.php
checkAspectName
Ensures that the given aspect name is valid and supported by this implementation. Exceptions are thrown whenever something wrong is encountered.
checkEvidence
BasicService::checkEvidence() in basicService.php
Ensures that the given evidence is valid and supported by this implementation. Exceptions are thrown whenever something wrong is encountered.
checkNamespace
BasicService::checkNamespace() in basicService.php
Ensures that the given vocabulary IRI is valid and supported by this implementation. Exceptions are thrown whenever something wrong is encountered.
checkProperty
BasicService::checkProperty() in basicService.php
Ensures that the given property is valid and supported by this implementation. Exceptions are thrown whenever something wrong is encountered.
checkPropertyName
Ensures that the given property name is valid and supported by this implementation. Exceptions are thrown whenever something wrong is encountered.
checkPropertyRef
Ensures that the given property reference is valid and supported by this implementation. Exceptions are thrown whenever something wrong is encountered.
checkPropertyWithoutAspect
Ensures that the given property is valid and supported by this implementation. Exceptions are thrown whenever something wrong is encountered.
$CANNOT_PROCEED
SystemException::$CANNOT_PROCEED in systemException.php
d
top
ddrException.php
ddrException.php in ddrException.php
DDRException
DDRException in ddrException.php
DDRException class as defined in the DDR Simple API standard.
e
top
exists
BasicPropertyValue::exists() in basicPropertyValue.php
exists
BasicEvidence::exists() in basicEvidence.php
evidence.php
evidence.php in evidence.php
Evidence
Evidence in evidence.php
Evidence interface as defined in the DDR Simple API standard.
exists
PropertyValue::exists() in propertyValue.php
Tests whether the property value is set.
exists
Evidence::exists() in evidence.php
Tests if the given key is defined in the Evidence.
g
top
get
BasicEvidence::get() in basicEvidence.php
getAll
BasicPropertyValues::getAll() in basicPropertyValues.php
getAspectName
BasicPropertyRef::getAspectName() in basicPropertyRef.php
getBoolean
BasicPropertyValue::getBoolean() in basicPropertyValue.php
getDataVersion
WURFLService::getDataVersion() in WURFLService.php
Returns the underlying version of the WURFL database being used.
getDataVersion
BasicService::getDataVersion() in basicService.php
Returns "__NOT_SUPPORTED" as this class is abstract and agnostic of the data repository that will be used in the concrete class.
getDefaultAspectName
Returns the default aspect name associated with the property.
getDouble
BasicPropertyValue::getDouble() in basicPropertyValue.php
getEnumeration
BasicPropertyValue::getEnumeration() in basicPropertyValue.php
getFloat
BasicPropertyValue::getFloat() in basicPropertyValue.php
getImplementationVersion
Returns a basic string that identifies this basic implementation, along with the version of the file in the CVS repository.
getImplementationVersion
Returns the implementation of the WURFL implementation of the DDR Simple API.
getInteger
BasicPropertyValue::getInteger() in basicPropertyValue.php
getLocalPropertyName
getLocalPropertyName
getLong
BasicPropertyValue::getLong() in basicPropertyValue.php
getNamespace
BasicPropertyRef::getNamespace() in basicPropertyRef.php
getNamespace
BasicPropertyName::getNamespace() in basicPropertyName.php
getPropertyRef
BasicPropertyValue::getPropertyRef() in basicPropertyValue.php
getPropertyValueEPn
getPropertyValueEPr
getPropertyValueES
getPropertyValueESSS
getPropertyValues
Builds a PropertyValues object from the given evidence.
getPropertyValues
Abstract method called by all query methods and that returns all available property values for all the aspects and vocabularies known by the underlying implementation for the given evidence.
getPropertyValues
Returns the list of properties of the device.
getPropertyValuesE
getPropertyValuesEPr
getPropertyValuesES
getPropertyValuesESS
getString
BasicPropertyValue::getString() in basicPropertyValue.php
getUserAgent
WURFLDevice::getUserAgent() in WURFLDevice.php
Returns the User-Agent that identifies the device.
getValue
BasicPropertyValues::getValue() in basicPropertyValues.php
get
Evidence::get() in evidence.php
Retrieves the value associated with the given key in the Evidence.
getAll
propertyValues::getAll() in propertyValues.php
Returns all the properties of the set.
getAspectName
PropertyRef::getAspectName() in propertyRef.php
Returns the aspect the property applies to.
getBoolean
PropertyValue::getBoolean() in propertyValue.php
Returns the value of the property.
getDataVersion
Returns information about the underlying data (values for Properties) if the implementation has a versioning system for that information.
getDouble
PropertyValue::getDouble() in propertyValue.php
Returns the value of the property.
getEnumeration
PropertyValue::getEnumeration() in propertyValue.php
Returns the value of the property.
getFloat
PropertyValue::getFloat() in propertyValue.php
Returns the value of the property.
getImplementationVersion
Returns information about the implementation of the API including the current version.
getInteger
PropertyValue::getInteger() in propertyValue.php
Returns the value of the property.
getLocalPropertyName
Returns the name of the property.
getLocalPropertyName
Returns the name of the property.
getLong
PropertyValue::getLong() in propertyValue.php
Returns the value of the property.
getNamespace
PropertyName::getNamespace() in propertyName.php
Returns the IRI of the vocabulary that defines the property.
getNamespace
PropertyRef::getNamespace() in propertyRef.php
Returns the namespace of the property.
getPropertyRef
PropertyValue::getPropertyRef() in propertyValue.php
Returns the property reference associated with the property.
getPropertyValueEPn
Returns the requested property value for the device identified by the given evidence. The property is understood as applying to the default aspect.
getPropertyValueEPr
Returns the requested property value for the device identified by the given evidence.
getPropertyValueES
Returns the requested property value for the device identified by the given evidence. The property is searched for in the default vocabulary and understood as applying to the default aspect.
getPropertyValueESSS
Returns the requested property value for the device identified by the given evidence. The property is searched for in the given vocabulary and aspect.
getPropertyValuesE
Returns all property values that match the device identified by the given evidence.
getPropertyValuesEPr
Returns all property values that match the device identified by the given evidence and that are in the given set of properties.
getPropertyValuesES
Returns all property values that match the device identified by the given evidence and that apply to the given aspect name in the default vocabulary.
getPropertyValuesESS
Returns all property values that match the device identified by the given evidence and that apply to the given aspect name in the given vocabulary.
getString
PropertyValue::getString() in propertyValue.php
Returns the value of the property, or a string representation of the property when it is not natively string.
getValue
propertyValues::getValue() in propertyValues.php
Returns the property value in the set that matches the given named property.
i
top
initialize
BasicService::initialize() in basicService.php
Initializes the implementation.
initializeProperties
Initializes specific WURFL settings.
initializeProperties
Abstract method called by the initialize() method to set the list of supported properties and implementation-specific settings.
$ILLEGAL_ARGUMENT
SystemException::$ILLEGAL_ARGUMENT in systemException.php
$IMPLEMENTATION_ERROR
$INCOMPATIBLE_TYPES
$INITIALIZATION_ERROR
InitializationException::$INITIALIZATION_ERROR in initializationException.php
initializationException.php
initializationException.php in initializationException.php
InitializationException
InitializationException in initializationException.php
InitializationException class as defined in the DDR Simple API standard.
initialize
Service::initialize() in service.php
Initialize the Service instance.
l
top
listPropertyRefs
listPropertyRefs
Lists the combination of all known Properties and Aspects in all Vocabularies that can be used (without causing a NameException to be thrown).
m
top
$MULTIPLE_VALUES
ValueException::$MULTIPLE_VALUES in valueException.php
n
top
newHTTPEvidence
newHTTPEvidenceM
Creates an HTTP Evidence from the given list of HTTP header name and value pairs.
newPropertyNameS
newPropertyNameSS
newPropertyRefPn
newPropertyRefPnS
newPropertyRefS
$NOT_KNOWN
ValueException::$NOT_KNOWN in valueException.php
nameException.php
nameException.php in nameException.php
NameException
NameException in nameException.php
NameException class as defined in the DDR Simple API standard.
newHTTPEvidence
Creates an empty HTTP Evidence.
newHTTPEvidenceM
Creates an HTTP Evidence from a list of HTTP header names and values.
newPropertyNameS
Creates a property using the default vocabulary.
newPropertyNameSS
Creates a property using the specified vocabulary.
newPropertyRefPn
Creates a property reference using the given property and the default aspect associated with the property.
newPropertyRefPnS
Creates a property reference using the given property and aspect.
newPropertyRefS
Creates a property reference using given local name, the default vocabulary and the default aspect associated with the property.
newService
ServiceFactory::newService() in serviceFactory.php
Instantiates an instance of the class $clazz establishing the Default Vocabulary to be the one specified and with the possibility to provide implementation specific parameters in the $configuration parameter.
p
top
prepare_files
WURFLPrepareDatabase::prepare_files() in WURFLPrepareDatabase.php
Manages the preparation of the resources files.
put
BasicEvidence::put() in basicEvidence.php
$PROPERTY_NOT_RECOGNIZED
propertyName.php
propertyName.php in propertyName.php
propertyRef.php
propertyRef.php in propertyRef.php
propertyValue.php
propertyValue.php in propertyValue.php
propertyValues.php
propertyValues.php in propertyValues.php
PropertyName
PropertyName in propertyName.php
PropertyName interface as defined in the DDR Simple API standard.
PropertyRef
PropertyRef in propertyRef.php
PropertyRef interface as defined in the DDR Simple API standard.
PropertyValue
PropertyValue in propertyValue.php
PropertyValue interface as defined in the DDR Simple API standard.
propertyValues
propertyValues in propertyValues.php
PropertyValues interface as defined in the DDR Simple API standard.
put
Evidence::put() in evidence.php
Adds a name/value pair to the Evidence.
s
top
$supportedProperties
The complete list of properties supported by the implementation is represented as a tree.
$SUPPORTED_PROPERTIES
The complete list of properties supported by this implementation and represented as a tree.
service.php
service.php in service.php
serviceFactory.php
serviceFactory.php in serviceFactory.php
systemException.php
systemException.php in systemException.php
Service
Service in service.php
Service interface as defined in the DDR Simple API standard.
ServiceFactory
ServiceFactory in serviceFactory.php
ServiceFactory class as defined in the DDR Simple API standard.
SystemException
SystemException in systemException.php
SystemException class as defined in the DDR Simple API standard.
v
top
$VOCABULARY_NOT_RECOGNIZED
valueException.php
valueException.php in valueException.php
ValueException
ValueException in valueException.php
ValueException class as defined in the DDR Simple API standard.
w
top
$WURFL_PROPERTIES
The list of properties supported by this implementation and defined in the table vocabulary.
$WURFL_VOCABULARY
WURFLDevice.php
WURFLDevice.php in WURFLDevice.php
WURFLPrepareDatabase.php
WURFLPrepareDatabase.php in WURFLPrepareDatabase.php
WURFLService.php
WURFLService.php in WURFLService.php
writeHtmlFooter
WURFLPrepareDatabase::writeHtmlFooter() in WURFLPrepareDatabase.php
writeHtmlHeader
WURFLPrepareDatabase::writeHtmlHeader() in WURFLPrepareDatabase.php
WURFLDevice
WURFLDevice in WURFLDevice.php
Internal class used to represent a device in the WURFL repository. A Device is an entity identified by a User-Agent that contains a list of property values for the identified device.
WURFLPrepareDatabase
WURFLPrepareDatabase in WURFLPrepareDatabase.php
Prepares the WURFL XML database for use in AskPythia.
WURFLService
WURFLService in WURFLService.php
The WURFLService class is an implementation of the DDR Simple API on top of the WURFL XML database of devices.
a b c d e g i l m n p s v w _