Exponential Basic 2.4.0.1 Exponential Basic CMS — PHP Class Reference

ezprestauthorizedclient.php
Go to the documentation of this file.
1 <?php
12 $def = new ezcPersistentObjectDefinition();
13 $def->table = "ezprest_authorized_clients";
14 $def->class = "ezpRestAuthorizedClient";
15
16 $def->idProperty = new ezcPersistentObjectIdProperty;
17 $def->idProperty->columnName = 'id';
18 $def->idProperty->propertyName = 'id';
19 $def->idProperty->generator = new ezcPersistentGeneratorDefinition( 'ezcPersistentSequenceGenerator', array( "sequence" => "ezprest_authorized_clients_s" ) );
20
21 $def->properties['rest_client_id'] = new ezcPersistentObjectProperty;
22 $def->properties['rest_client_id']->columnName = 'rest_client_id';
23 $def->properties['rest_client_id']->propertyName = 'rest_client_id';
24 $def->properties['rest_client_id']->propertyType = ezcPersistentObjectProperty::PHP_TYPE_INT;
25
26 $def->properties['user_id'] = new ezcPersistentObjectProperty;
27 $def->properties['user_id']->columnName = 'user_id';
28 $def->properties['user_id']->propertyName = 'user_id';
29 $def->properties['user_id']->propertyType = ezcPersistentObjectProperty::PHP_TYPE_INT;
30
31 $def->properties['created'] = new ezcPersistentObjectProperty;
32 $def->properties['created']->columnName = 'created';
33 $def->properties['created']->propertyName = 'created';
34 $def->properties['created']->propertyType = ezcPersistentObjectProperty::PHP_TYPE_INT;
35
36 return $def;
37 ?>
$def
$def
Definition: ezprestauthorizedclient.php:12
Copyright © 1998 – 2026 7x. All rights reserved. Licensed under the GNU GPLv2+.