PHP Class Devise\Languages\LanguagesManager

Show file Open project: devisephp/cms

Protected Properties

Property Type Description
$Language DvsLanguage Uses the DvsLanguage model to look manage dvs_languages table

Public Methods

Method Description
__construct ( DvsLanguage $Language ) Construct a new language manager
modifyActiveFlag ( $id, $isActive ) Updates the active field of a language

Method Details

__construct() public method

Construct a new language manager
public __construct ( DvsLanguage $Language )
$Language DvsLanguage

modifyActiveFlag() public method

Updates the active field of a language
public modifyActiveFlag ( $id, $isActive )
$id
$isActive

Property Details

$Language protected property

Uses the DvsLanguage model to look manage dvs_languages table
protected DvsLanguage $Language
return DvsLanguage