You are here

public static function CommerceFileLicenseEntity::limit_is_unlimited in Commerce File 7

Determine if a value is set to UNLIMITED

2 calls to CommerceFileLicenseEntity::limit_is_unlimited()
CommerceFileLicenseEntity::check_limit_is_unlimited in includes/commerce_file_license.entity.inc
commerce_file_license_rules_condition_limit_is_unlimited in ./commerce_file.rules.inc
Rules condition: Determine if a limit value is unlimited

File

includes/commerce_file_license.entity.inc, line 40
Provides a base class for CommerceFileLicenseEntity.

Class

CommerceFileLicenseEntity
A Commerce File License entity class.

Code

public static function limit_is_unlimited($value) {
  return strcmp($value, self::DATA_UNLIMITED) === 0;
}