Class humhub\modules\marketplace\models\Licence

Inheritancehumhub\modules\marketplace\models\Licence » yii\base\Model

Constants

Hide inherited constants

ConstantValueDescriptionDefined By
LICENCE_TYPE_CE 'community' Licence types humhub\modules\marketplace\models\Licence
LICENCE_TYPE_EE 'enterprise' humhub\modules\marketplace\models\Licence
LICENCE_TYPE_PRO 'pro' humhub\modules\marketplace\models\Licence

Property Details

$licenceKey public property

The licence key

public string $licenceKey null
$licencedTo public property

Name of the licensee

public string $licencedTo null
$maxUsers public property

The number of maximum users

public integer $maxUsers null
$type public property

The licence type

public string $type null

Method Details

attributeLabels() public method

public void attributeLabels ( )
fetch() public static method

Fetches the licence from the server

public static boolean fetch ( )
init() public method

public void init ( )
register() public method

public boolean register ( )
throws \yii\base\Exception
remove() public static method

Removes the licence from this installation

public static void remove ( )
throws \yii\db\StaleObjectException
throws Throwable
rules() public method

public void rules ( )