PHP Class Contao\SessionModel

Inheritance: extends Model
Show file Open project: contao/core-bundle Class Usage Examples

Protected Properties

Property Type Description
$strTable string Table name

Public Methods

Method Description
findByHashAndName ( string $strHash, string $strName, array $arrOptions = [] ) : SessionModel | null Find a session by its hash and name

Method Details

findByHashAndName() public static method

Find a session by its hash and name
public static findByHashAndName ( string $strHash, string $strName, array $arrOptions = [] ) : SessionModel | null
$strHash string The session hash
$strName string The session name
$arrOptions array An optional options array
return SessionModel | null The model or null if there is no session

Property Details

$strTable protected static property

Table name
protected static string $strTable
return string