ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
Persistence.php
Go to the documentation of this file.
1<?php
10
12
13interface Persistence
14{
15
19 public function saveBucketAndItsTasks(Bucket $bucket);
20
21
29 public function getBucketIdsOfUser($user_id, $order_by = "id", $order_direction = "ASC");
30
31
37 public function getBucketIdsByState($state);
38
39
46 public function loadBucket($bucket_container_id);
47
48
55 public function loadBuckets($bucket_container_id);
56
57
65 public function deleteBucketById($bucket_id);
66
67
75 public function deleteBucket($bucket);
76
77
83 public function updateBucket(Bucket $bucket);
84
85
91 public function getBucketContainerId(Bucket $bucket);
92
93
99 public function getBucketMetaOfUser($user_id);
100}
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.