Exponential Basic 2.4.0.1 Exponential Basic CMS — PHP Class Reference

ezprestauthcode.php
Go to the documentation of this file.
1 <?php
12 // Autogenerated PersistentObject definition
13
14 $def = new ezcPersistentObjectDefinition();
15 $def->table = 'ezprest_authcode';
16 $def->class = 'ezpRestAuthcode';
17
18 $def->idProperty = new ezcPersistentObjectIdProperty();
19 $def->idProperty->columnName = 'id';
20 $def->idProperty->propertyName = 'id';
21 $def->idProperty->generator = new ezcPersistentGeneratorDefinition( 'ezcPersistentManualGenerator' );
22 $def->idProperty->propertyType = ezcPersistentObjectProperty::PHP_TYPE_STRING;
23
24
25 $def->properties['expirytime'] = new ezcPersistentObjectProperty();
26 $def->properties['expirytime']->columnName = 'expirytime';
27 $def->properties['expirytime']->propertyName = 'expirytime';
28 $def->properties['expirytime']->propertyType = ezcPersistentObjectProperty::PHP_TYPE_INT;
29
30
31 $def->properties['client_id'] = new ezcPersistentObjectProperty();
32 $def->properties['client_id']->columnName = 'client_id';
33 $def->properties['client_id']->propertyName = 'client_id';
34 $def->properties['client_id']->propertyType = ezcPersistentObjectProperty::PHP_TYPE_STRING;
35
36 $def->properties['user_id'] = new ezcPersistentObjectProperty();
37 $def->properties['user_id']->columnName = 'user_id';
38 $def->properties['user_id']->propertyName = 'user_id';
39 $def->properties['user_id']->propertyType = ezcPersistentObjectProperty::PHP_TYPE_INT;
40
41
42 $def->properties['scope'] = new ezcPersistentObjectProperty();
43 $def->properties['scope']->columnName = 'scope';
44 $def->properties['scope']->propertyName = 'scope';
45 $def->properties['scope']->propertyType = ezcPersistentObjectProperty::PHP_TYPE_STRING;
46
47 return $def;
48
49 ?>
$def
$def
Definition: ezprestauthcode.php:14
Copyright © 1998 – 2026 7x. All rights reserved. Licensed under the GNU GPLv2+.