| 
    ILIAS
    release_9 Revision v9.13-25-g2c18ec4c24f
    
   | 
  
 Collaboration diagram for UploadPolicy:Public Member Functions | |
| __construct (protected ?int $policy_id, protected string $title, protected int $upload_limit_in_mb, protected array $audience, protected int $audience_type, protected string $scope_definition, protected bool $active, protected ?DateTimeImmutable $valid_from, protected ?DateTimeImmutable $valid_until, protected int $owner, protected DateTimeImmutable $create_date, protected DateTimeImmutable $last_update) | |
| getPolicyId () | |
| getTitle () | |
| getUploadLimitInMB () | |
| getAudience () | |
| getAudienceType () | |
| getScopeDefinition () | |
| isActive () | |
| getValidFrom () | |
| getValidUntil () | |
| getOwnerId () | |
| getCreateDate () | |
| getLastUpdate () | |
Data Fields | |
| const | POLICY_ID = 'policy_id' | 
| const | AUDIENCE_TYPE_ALL_USERS = 0 | 
| const | AUDIENCE_TYPE_GLOBAL_ROLE = 1 | 
| const | SCOPE_DEFINITION_GLOBAL = "Global" | 
Definition at line 23 of file UploadPolicy.php.
| UploadPolicy::__construct | ( | protected ?int | $policy_id, | 
| protected string | $title, | ||
| protected int | $upload_limit_in_mb, | ||
| protected array | $audience, | ||
| protected int | $audience_type, | ||
| protected string | $scope_definition, | ||
| protected bool | $active, | ||
| protected ?DateTimeImmutable | $valid_from, | ||
| protected ?DateTimeImmutable | $valid_until, | ||
| protected int | $owner, | ||
| protected DateTimeImmutable | $create_date, | ||
| protected DateTimeImmutable | $last_update | ||
| ) | 
Definition at line 30 of file UploadPolicy.php.
| UploadPolicy::getAudience | ( | ) | 
Definition at line 61 of file UploadPolicy.php.
Referenced by UploadPoliciesTableUI\getDeletionConfirmationModal(), and UploadPolicyDBRepository\store().
 Here is the caller graph for this function:| UploadPolicy::getAudienceType | ( | ) | 
Definition at line 66 of file UploadPolicy.php.
Referenced by UploadPoliciesTableUI\getDeletionConfirmationModal(), and UploadPolicyDBRepository\store().
 Here is the caller graph for this function:| UploadPolicy::getCreateDate | ( | ) | 
Definition at line 96 of file UploadPolicy.php.
Referenced by UploadPolicyDBRepository\store().
 Here is the caller graph for this function:| UploadPolicy::getLastUpdate | ( | ) | 
Definition at line 101 of file UploadPolicy.php.
Referenced by UploadPolicyDBRepository\store().
 Here is the caller graph for this function:| UploadPolicy::getOwnerId | ( | ) | 
Definition at line 91 of file UploadPolicy.php.
Referenced by UploadPolicyDBRepository\store().
 Here is the caller graph for this function:| UploadPolicy::getPolicyId | ( | ) | 
Definition at line 46 of file UploadPolicy.php.
Referenced by UploadPoliciesTableUI\getDeletionConfirmationModal(), and UploadPolicyDBRepository\store().
 Here is the caller graph for this function:| UploadPolicy::getScopeDefinition | ( | ) | 
Definition at line 71 of file UploadPolicy.php.
Referenced by UploadPoliciesTableUI\getDeletionConfirmationModal(), and UploadPolicyDBRepository\store().
 Here is the caller graph for this function:| UploadPolicy::getTitle | ( | ) | 
Definition at line 51 of file UploadPolicy.php.
Referenced by UploadPoliciesTableUI\getDeletionConfirmationModal(), and UploadPolicyDBRepository\store().
 Here is the caller graph for this function:| UploadPolicy::getUploadLimitInMB | ( | ) | 
Definition at line 56 of file UploadPolicy.php.
Referenced by UploadPoliciesTableUI\getDeletionConfirmationModal(), and UploadPolicyDBRepository\store().
 Here is the caller graph for this function:| UploadPolicy::getValidFrom | ( | ) | 
Definition at line 81 of file UploadPolicy.php.
Referenced by UploadPolicyResolver\isPolicyActiveAndValid(), and UploadPolicyDBRepository\store().
 Here is the caller graph for this function:| UploadPolicy::getValidUntil | ( | ) | 
Definition at line 86 of file UploadPolicy.php.
Referenced by UploadPoliciesTableUI\getDeletionConfirmationModal(), UploadPolicyResolver\isPolicyActiveAndValid(), and UploadPolicyDBRepository\store().
 Here is the caller graph for this function:| UploadPolicy::isActive | ( | ) | 
Definition at line 76 of file UploadPolicy.php.
Referenced by UploadPoliciesTableUI\getDeletionConfirmationModal(), UploadPolicyResolver\isPolicyActiveAndValid(), and UploadPolicyDBRepository\store().
 Here is the caller graph for this function:| const UploadPolicy::AUDIENCE_TYPE_ALL_USERS = 0 | 
Definition at line 26 of file UploadPolicy.php.
Referenced by UploadPoliciesTableUI\getAudienceText(), UploadPolicyFormUI\getAudienceTransformation(), UploadPolicyResolver\getUserUploadSizeLimitInBytes(), and UploadPolicyResolverTest\testLimitedPolicy().
| const UploadPolicy::AUDIENCE_TYPE_GLOBAL_ROLE = 1 | 
Definition at line 27 of file UploadPolicy.php.
Referenced by UploadPolicyFormUI\__construct(), UploadPoliciesTableUI\getAudienceText(), UploadPolicyFormUI\getAudienceTransformation(), and UploadPolicyResolver\getUserUploadSizeLimitInBytes().
| const UploadPolicy::POLICY_ID = 'policy_id' | 
Definition at line 25 of file UploadPolicy.php.
Referenced by UploadPolicyFormUI\__construct(), UploadPoliciesTableUI\buildPolicyActions(), and ilUploadLimitsOverviewGUI\deleteUploadPolicy().
| const UploadPolicy::SCOPE_DEFINITION_GLOBAL = "Global" | 
Definition at line 28 of file UploadPolicy.php.
Referenced by ilUploadLimitsOverviewGUI\saveUploadPolicy(), and UploadPolicyResolverTest\testLimitedPolicy().