ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
Persistence.php
Go to the documentation of this file.
1<?php
10
11interface Persistence
12{
13
17 public function saveBucketAndItsTasks(Bucket $bucket);
18
19
27 public function getBucketIdsOfUser($user_id, $order_by = "id", $order_direction = "ASC");
28
29
35 public function getBucketIdsByState($state);
36
37
44 public function loadBucket($bucket_container_id);
45
46
53 public function loadBuckets($bucket_container_id);
54
55
63 public function deleteBucketById($bucket_id);
64
65
73 public function deleteBucket($bucket);
74
75
81 public function updateBucket(Bucket $bucket);
82
83
89 public function getBucketContainerId(Bucket $bucket);
90
91
97 public function getBucketMetaOfUser($user_id);
98}
if(!array_key_exists('stateid', $_REQUEST)) $state
Handle linkback() response from LinkedIn.
Definition: linkback.php:10
An exception for terminatinating execution or to throw for unit testing.
deleteBucket($bucket)
Delete the bucket and all its stuff.
deleteBucketById($bucket_id)
Deletes the Observer AND all its tasks and values.
getBucketContainerId(Bucket $bucket)
loadBuckets($bucket_container_id)
getBucketIdsOfUser($user_id, $order_by="id", $order_direction="ASC")
updateBucket(Bucket $bucket)
Updates only the bucket! Use this if e.g.
loadBucket($bucket_container_id)
saveBucketAndItsTasks(Bucket $bucket)
Created by PhpStorm.