This class represents a generic Profile Uses for grouping only

author bruno
package personalization
subpackage ksources

 Methods

Constructor Create a Profile instance from given url

__construct(string $url) 

Parameters

$url

string

Return the KSource url

getURL() : string
Inherited
inherited_from \KSource::getURL()

Returns

stringthe url

return a value for the data pointed with the path $p

getValueFromPath(string $path, string $date) 
Inherited
inherited_from \KSourceDataProvider::getValueFromPath()
inherited_from \KSource::getValueFromPath()

Parameters

$path

string

the path to the wanted data

$date

string

optional argument to precise the date of the wanted data

Return true if the KSource matches the given constraint

matchConstraint(string $c) : int
Inherited
inherited_from \KSource::matchConstraint()

Parameters

$c

string

the string constraint

Returns

inta completion code, if 0: no matches, 1: match, other: error

 Properties

 

$url : \url
Inherited
inherited_from \KSource::$$url