SsoAppli

package sso\lib\dao

 Methods

Search application by path

getByPath(array<mixed,string> $paths) : \salt\DBResult
Static

Parameters

$paths

array<mixed,string>

list of paths

Returns

\salt\DBResultAll application with theses paths

Return group element type

getGroupType() 
Static
see
inherited_from \sso\SsoGroupable::getGroupType()

Field name that contain name of group element

getNameField() 
see
inherited_from \sso\SsoGroupable::getNameField()

Retrieve last validation error

lastError() : string

Returns

stringerror message

Check values

validate() : boolean

Returns

booleanTRUE if all values are valid, FALSE otherwise

Check an URL exists

urlExists(string $url) : boolean

Parameters

$url

string

URL to check

Exceptions

\sso\Exception if curl failed

Returns

booleanTRUE if URL exists, FALSE otherwise

 Properties

 

$description

$description : string

Default

magic
property
 

$handler

$handler : string

Default

magic
property
 

$icon

$icon : string

Default

magic
property
 

$id

$id : integer

Default

magic
property
 

$name

$name : string

Default

magic
property
 

$path

$path : string

Default

magic
property
 

Last error after validate() call

$lastError : string

Default

NULL