Added detailed list of received/given likes in user profiles
[GitHub/WoltLab/WCF.git] / wcfsetup / install / files / lib / data / IDatabaseObjectProcessor.class.php
1 <?php
2 namespace wcf\data;
3
4 /**
5 * Default interface for DatabaseObject processors.
6 *
7 * @author Marcel Werk
8 * @copyright 2001-2014 WoltLab GmbH
9 * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
10 * @package com.woltlab.wcf
11 * @subpackage data
12 * @category Community Framework
13 */
14 interface IDatabaseObjectProcessor {
15 /**
16 * Creates a new instance of a database object processor.
17 *
18 * @param \wcf\data\DatabaseObject $object
19 */
20 public function __construct(DatabaseObject $object);
21
22 /**
23 * Delegates accesses to inaccessible object properties the processed object.
24 *
25 * @param string $name
26 * @return mixed
27 */
28 public function __get($name);
29
30 /**
31 * Delegates isset calls for inaccessible object properties to the processed
32 * object.
33 *
34 * @param string $name
35 * @return boolean
36 */
37 public function __isset($name);
38
39 /**
40 * Delegates inaccessible method calls to the processed database object.
41 *
42 * @param string $name
43 * @param array $arguments
44 * @return mixed
45 */
46 public function __call($name, $arguments);
47 }