-
Notifications
You must be signed in to change notification settings - Fork 11
/
php_sdo.h
653 lines (515 loc) · 21.8 KB
/
php_sdo.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
/*
+----------------------------------------------------------------------+
| (c) Copyright IBM Corporation 2005, 2008. |
| All Rights Reserved. |
+----------------------------------------------------------------------+
| |
| Licensed under the Apache License, Version 2.0 (the "License"); you |
| may not use this file except in compliance with the License. You may |
| obtain a copy of the License at |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or |
| implied. See the License for the specific language governing |
| permissions and limitations under the License. |
+----------------------------------------------------------------------+
| Author: Caroline Maynard |
+----------------------------------------------------------------------+
*/
/* $Id: php_sdo.h 261641 2008-06-25 15:26:28Z cem $ */
#ifndef PHP_SDO_H
#define PHP_SDO_H
#include "php.h"
#define PHP_SDO_VERSION "1.2.5-beta"
extern zend_module_entry sdo_module_entry;
#define phpext_sdo_ptr &sdo_module_entry
#ifdef PHP_WIN32
# if defined (SDO_EXPORTS)
# define PHP_SDO_API __declspec(dllexport)
# elif defined(COMPILE_DL_SDO)
# define PHP_SDO_API __declspec(dllimport)
# else
# define PHP_SDO_API
# endif
#else
#define PHP_SDO_API
#endif
#ifdef ZTS
#include "TSRM.h"
#endif
PHP_MINIT_FUNCTION(sdo);
PHP_RINIT_FUNCTION(sdo);
PHP_MINFO_FUNCTION(sdo);
PHP_METHOD(SDO_PropertyAccess, __get);
PHP_METHOD(SDO_PropertyAccess, __set);
/* {{{ proto string SDO_DataObject::getTypeName()
Return the name of the type for this SDO_DataObject.
A convenience method corresponding to
SDO_Model_ReflectionDataObject::getType().getName()
*/
PHP_METHOD(SDO_DataObject, getTypeName);
/* }}} */
/* {{{ proto string SDO_DataObject::getTypeNamespaceURI()
Return the namespace URI of the type for this SDO_DataObject.
A convenience method corresponding to
SDO_Model_ReflectionDataObject::getType().getNamespaceURI()
*/
PHP_METHOD(SDO_DataObject, getTypeNamespaceURI);
/* }}} */
/* {{{ proto SDO_Sequence SDO_DataObject::getSequence()
Return the SDO_Sequence for this SDO_DataObject. Accessing the SDO_DataObject
through the SDO_Sequence interface acts on the same SDO_DataObject instance
data, but preserves ordering across properties.
Returns the sequence for this SDO_DataObject. Returns Null if the
SDO_DataObject is not of a type which can have a sequence.
*/
PHP_METHOD(SDO_DataObject, getSequence);
/* }}} */
/* {{{ proto SDO_DataObject SDO_DataObject::createDataObject(mixed identifier)
Create a child SDO_DataObject of the default type for the property identified.
Identifies the property for the data object type to be created. Can be either a property name (string),
or property index (int)
Returns the newly created SDO_DataObject
*/
PHP_METHOD(SDO_DataObject, createDataObject);
/* }}} */
/* {{{ proto void SDO_DataObject::clear()
Clear an SDO_DataObject's properties. Sets their values back to any defaults. Read-only properties are unaffected.
Subsequent calls to isset() for the data object will return false.
*/
PHP_METHOD(SDO_DataObject, clear);
/* }}} */
/* {{{ proto SDO_DataObject SDO_DataObject::getContainer()
Get the containing data object for this data object.
Returns the SDO_DataObject which contains this SDO_DataObject, or return NULL
if this is a root SDO_DataObject.
*/
PHP_METHOD(SDO_DataObject, getContainer);
/* }}} */
/* {{{ proto SDO_Model_Property SDO_Sequence::getProperty(integer sequence_index)
Return the property for the specified sequence index.
The sequence index
The corresponding property. A value of NULL means the element does not belong to a property and must therefore be unstructured text.
Throws SDO_IndexOutOfBoundsException.
*/
PHP_METHOD(SDO_Sequence, getProperty);
/* }}} */
/* {{{ proto void SDO_Sequence::move(integer toIndex, integer fromIndex)
Modify the position of the item in the sequence, without altering the value of the property in the SDO_DataObject.
No return value.
The destination sequence index
The source sequence index
Throws SDO_IndexOutOfBoundsException.
*/
PHP_METHOD(SDO_Sequence, move);
/* }}} */
/* {{{ proto void SDO_Sequence::insert(mixed value [, integer sequence_index, mixed property_identifier])
Insert a new element at a specified position in the sequence. All subsequent sequence items are moved up.
The new value to be inserted. This can be either a primitive or an SDO_DataObject
The position at which to insert the new element. Default is NULL, which results in the new value being appended to the sequence.
Either a property index or property name, used to identify a property in the sequence's corresponding SDO_DataObject. A value of NULL signifies unstructured text.
Throws SDO_IndexOutOfBoundsException if the sequence index is less than zero or greater than the size of the sequence
Throws SDO_InvalidConversionException if the type of the new value cannot be juggled to match the type for the specified property
*/
PHP_METHOD(SDO_Sequence, insert);
/* }}} */
PHP_METHOD(SDO_List, __construct);
/* {{{ proto void SDO_List::insert(mixed value [, integer index])
Insert a new element at a specified position in the list. All subsequent list items are moved up.
Value is the new value to be inserted. This can be either a primitive or an SDO_DataObject.
Index is the position at which to insert the new element. If this argument is not specified then the new value will be appended.
Throws SDO_IndexOutOfBoundsException if the list index is less than zero or greater than the size of the list.
Throws SDO_InvalidConversionException if the type of the new value does not match the type for the list (i.e. the type of the many-valued
property that the list represents)
*/
PHP_METHOD(SDO_List, insert);
/* }}} */
PHP_METHOD(SDO_List, count);
/* {{{ proto void SDO_DataFactory::create(string type_namespace_uri, string type_name)
Create an SDO_DataObject of the type specified by type_name with the given namespace URI.
For example, the following creates a new SDO_DataObject of type
'CompanyType' where that type belongs to the namespace 'CompanyNS'
$df->create('CompanyNS', 'CompanyType');
The namespace URI of the type
The name of the type
Returns the newly created SDO_DataObject
Throws SDO_TypeNotFoundException if the namespace URI and type name do not correspond to a type known to this factory
*/
PHP_METHOD(SDO_DataFactory, create);
/* }}} */
/* {{{ proto SDO_DAS_DataFactory SDO_DAS_DataFactory::getDataFactory()
Get an instance of an SDO_DAS_DataFactory.
Get an instance of an SDO_DAS_DataFactory. This instance is initially only
configured with the basic SDO types. A Data Access Service is responsible for populating
the data factory model and then allowing PHP applications to create SDOs based on the model,
through the SDO_DataFactory interface.
Return: SDO_DataFactory (an SDO_DataFactory)
*/
PHP_METHOD(SDO_DAS_DataFactory, getDataFactory);
/* }}} */
/* {{{ proto void SDO_DAS_DataFactory::addType(string type_namespace_uri, string type_name [, array options])
Add a new type to the SDO_DAS_DataFactory, defined by its namespace and type
name.
The namespace of the type
The name of the type
Optional associative array of optional arguments for the new type.
Valid keys are:
"open" for an open type (default false)
"sequenced" for a sequenced type (default false)
For example, the following adds a new SDO_DataObject type of 'CompanyType'
where that type belongs to the namespace 'CompanyNS'
$df->addType('CompanyNS', 'CompanyType');
*/
PHP_METHOD(SDO_DAS_DataFactory, addType);
/* }}} */
/* {{{ proto void SDO_DAS_DataFactory::addPropertyToType(string parent_type_namespace_uri, string parent_type_name, string property_name, string type_namespace_uri, string type_name [, array options])
Add a property to a type. The type must already be known to the
SDO_DAS_DataFactory (i.e. have been added using addType()). The property
becomes a property of the type. This is how the graph model for the
structure of an SDO_DataObject is built.
The namespace URI for the parent type
The type name for the parent type
The name of by which the property will be known
The namespace URI for the type of the property
The type name for the type of the property
Optional associative array of optional arguments for the new property.
Valid keys are:
"many" for a many-valued property (default false)
"readonly" for a read-only property(default false)
"containment" to say if the property is contained by the parent (default is true.
This value only relates to properties which are data object types)
"default" to specifiy a default value for the property. "Default" is a mixed type argument, and omitting a default means the
property does not have one.
"opposite" to specify the property at the other end of a bi-directional relationship. Opposite is an array of three values
required to identify the opposite property. The first two are namespace URI and type name and identify the type which contains
the opposite property, the third value is the property name of the opposite property.
Example: to add a 'name' property to a Person type:
$df->addPropertyToType('PersonNS', 'PersonType',
'name', 'commonj.sdo', 'String');
*/
PHP_METHOD(SDO_DAS_DataFactory, addPropertyToType);
/* }}} */
/* {{{ proto SDO_DAS_ChangeSummary SDO_DAS_DataObject::getChangeSummary()
Get the SDO_DAS_ChangeSummary for this SDO_DataObject.
Returns the change summary for this SDO_DataObject, or NULL if it does not have one.
*/
PHP_METHOD(SDO_DAS_DataObject, getChangeSummary);
/* }}} */
/* {{{ proto void SDO_DAS_ChangeSummary::beginLogging()
Begin logging changes made to the SDO_DataObject.
*/
PHP_METHOD(SDO_DAS_ChangeSummary, beginLogging);
/* }}} */
/* {{{ proto void SDO_DAS_ChangeSummary::endLogging()
End logging changes made to the SDO_DataObject.
*/
PHP_METHOD(SDO_DAS_ChangeSummary, endLogging);
/* }}} */
/* {{{ proto boolean SDO_DAS_ChangeSummary::isLogging()
Test to see whether logging is switched on.
Returns true if change logging is on, otherwise returns false.
*/
PHP_METHOD(SDO_DAS_ChangeSummary, isLogging);
/* }}} */
/* {{{ proto SDO_List SDO_DAS_ChangeSummary::getChangedDataObjects()
Get an SDO_List of the SDO_DataObjects which have been changed.
Returns an SDO_List of SDO_DataObjects
*/
PHP_METHOD(SDO_DAS_ChangeSummary, getChangedDataObjects);
/* }}} */
/* {{{ proto integer SDO_DAS_ChangeSummary::getChangeType(SDO_DataObject data_object)
Get the type of change which has been made to the supplied SDO_DataObject.
The SDO_DataObject which has been changed
An enumeration indicating the type of change. Valid values are;
SDO_DAS_ChangeSummary::NONE, SDO_DAS_ChangeSummary::MODIFICATION,
SDO_DAS_ChangeSummary::ADDITION, SDO_DAS_ChangeSummary::DELETION.
*/
PHP_METHOD(SDO_DAS_ChangeSummary, getChangeType);
/* }}} */
/* {{{ proto SDO_List SDO_DAS_ChangeSummary::getOldValues(SDO_DataObject data_object)
Get a list of the old values for a given changed SDO_DataObject.
The data object which has been changed.
Returns a list of SDO_DAS_Settings describing the old values for the changed properties in the SDO_DataObject
*/
PHP_METHOD(SDO_DAS_ChangeSummary, getOldValues);
/* }}} */
/* {{{ proto SDO_DataObject SDO_DAS_ChangeSummary::getOldContainer(SDO_DataObject data_object)
Get the old container (SDO_DataObject) for a deleted SDO_DataObject.
The SDO_DataObject which has been deleted.
The old containing data object of the deleted SDO_DataObject.
*/
PHP_METHOD(SDO_DAS_ChangeSummary, getOldContainer);
/* }}} */
/* {{{ proto integer SDO_DAS_Setting::getPropertyIndex()
Get the property index for the changed property.
Returns the property index for the changed property.
*/
PHP_METHOD(SDO_DAS_Setting, getPropertyIndex);
/* }}} */
/* {{{ proto string SDO_DAS_Setting::getPropertyName()
Get the property name for the changed property.
Returns the property name for the changed property.
*/
PHP_METHOD(SDO_DAS_Setting, getPropertyName);
/* }}} */
/* {{{ proto mixed SDO_DAS_Setting::getValue()
Get the old value for the changed property.
Returns the old value of the changed property.
*/
PHP_METHOD(SDO_DAS_Setting, getValue);
/* }}} */
/* {{{ proto integer SDO_DAS_Setting::getListIndex()
Get the list index for the setting if this came from a many-valued property.
Returns the list index if the change was made to an individual element in a many-valued property.
*/
PHP_METHOD(SDO_DAS_Setting, getListIndex);
/* }}} */
/* {{{ proto boolean SDO_DAS_Setting::isSet()
Query whether a property was set prior to being modified.
Returns true if the property was set prior to being modified, else returns false.
*/
PHP_METHOD(SDO_DAS_Setting, isSet);
/* }}} */
/* {{{ proto string SDO_Model_Type::getName()
Return the name of the type.
*/
PHP_METHOD(SDO_Model_Type, getName);
/* }}} */
/* {{{ proto string SDO_Model_Type::getNamespaceURI()
Return the namespace URI of the type.
*/
PHP_METHOD(SDO_Model_Type, getNamespaceURI);
/* }}} */
/* {{{ proto boolean SDO_Model_Type::isInstance(SDO_DataObject data_object)
Returns true if the object is an instance of the type.
The SDO_DataObject to test.
*/
PHP_METHOD(SDO_Model_Type, isInstance);
/* }}} */
/* {{{ proto array SDO_Model_Type::getProperties()
Get the array of properties defined for the type.
An array of SDO_Model_Property objects.
*/
PHP_METHOD(SDO_Model_Type, getProperties);
/* }}} */
/* {{{ proto SDO_Model_Property SDO_Model_Type::getProperty(mixed identifier)
Get a property of this type, identified by its property index or property name.
The property index or property name.
*/
PHP_METHOD(SDO_Model_Type, getProperty);
/* }}} */
/* {{{ proto boolean SDO_Model_Type::isDataType()
Returns true if this type corresponds to a primitive data type.
*/
PHP_METHOD(SDO_Model_Type, isDataType);
/* }}} */
/* {{{ proto boolean SDO_Model_Type::isSequencedType()
Returns true if this type corresponds to a sequenced SDO_DataObject.
*/
PHP_METHOD(SDO_Model_Type, isSequencedType);
/* }}} */
/* {{{ proto boolean SDO_Model_Type::isOpenType()
Returns true if this type corresponds to an SDO_DataObject which allows
open content, that is, aditional properties to be added to an instance.
*/
PHP_METHOD(SDO_Model_Type, isOpenType);
/* }}} */
/* {{{ proto boolean SDO_Model_Type::isAbstractType()
Returns true if this type is abstract, that is, no SDO_DataObject
of this type can be instantiated, though other types may inherit
from it.
*/
PHP_METHOD(SDO_Model_Type, isAbstractType);
/* }}} */
/* {{{ proto SDO_Model_Type SDO_Model_Type::getBaseType()
Get the base (parent) type for this type. Returns NULL if this type does
not inherit from any other type.
*/
PHP_METHOD(SDO_Model_Type, getBaseType);
/* }}} */
/* {{{ proto string SDO_Model_Property::getName()
Returns the name of the property.
*/
PHP_METHOD(SDO_Model_Property, getName);
/* }}} */
/* {{{ proto SDO_Model_Type SDO_Model_Property::getType()
Returns the type of the property.
*/
PHP_METHOD(SDO_Model_Property, getType);
/* }}} */
/* {{{ proto boolean SDO_Model_Property::isMany()
Returns true if this is a many-valued property.
*/
PHP_METHOD(SDO_Model_Property, isMany);
/* }}} */
/* {{{ proto boolean SDO_Model_Property::isReadOnly()
Returns true if this is a read-only property.
*/
PHP_METHOD(SDO_Model_Property, isReadOnly);
/* }}} */
/* {{{ proto boolean SDO_Model_Property::isContainment()
Returns true if this property is contained by its parent.
*/
PHP_METHOD(SDO_Model_Property, isContainment);
/* }}} */
/* {{{ proto SDO_Model_Property SDO_Model_Property::getOpposite()
Returns the opposite property if this property is part of a bi-directional
relationship, otherwise returns NULL.
*/
PHP_METHOD(SDO_Model_Property, getOpposite);
/* }}} */
/* {{{ proto boolean SDO_Model_Property::getContainingType()
Returns the type which contains this property.
*/
PHP_METHOD(SDO_Model_Property, getContainingType);
/* }}} */
/* {{{ proto mixed SDO_Model_Property::getDefault()
Returns the default value for this property.
*/
PHP_METHOD(SDO_Model_Property, getDefault);
/* }}} */
/* {{{ proto SDO_Model_ReflectionDataObject SDO_Model_ReflectionDataObject::__construct(SDO_DataObject data_object)
Construct an SDO_Model_ReflectionDataObject to reflect on an SDO_DataObject
The SDO_DataObject to reflect on for model information.
*/
PHP_METHOD(SDO_Model_ReflectionDataObject, __construct);
/* }}} */
/* {{{ proto string SDO_Model_ReflectionDataObject::__toString()
Return a string representation of the object.
*/
PHP_METHOD(SDO_Model_ReflectionDataObject, __toString);
/* }}} */
/* {{{ proto mixed SDO_Model_ReflectionDataObject::export(SDO_Model_ReflectionDataObject rdo [, bool return])
Exports an SDO_Model_ReflectionDataObject.
Returns the output if TRUE is specified for return, printing it otherwise.
*/
PHP_METHOD(SDO_Model_ReflectionDataObject, export);
/* }}} */
/* {{{ proto SDO_Model_Type SDO_Model_ReflectionDataObject::getType()
Get the SDO_Model_Type for the SDO_DataObject.
*/
PHP_METHOD(SDO_Model_ReflectionDataObject, getType);
/* }}} */
/* {{{ proto array SDO_Model_ReflectionDataObject::getInstanceProperties()
Get the instance properties for the SDO_DataObject. The instance
properties consist of all the properties defined on the data object's
type, plus any instance properties from open content (if the data object
is an open type).
An array of SDO_Model_Property objects.
*/
PHP_METHOD(SDO_Model_ReflectionDataObject, getInstanceProperties);
/* }}} */
/* {{{ proto SDO_Model_Property SDO_Model_ReflectionDataObject::getContainmentProperty()
Return the container's SDO_Model_Property which references the SDO_DataObject,
or NULL if it is a root SDO_DataObject.
*/
PHP_METHOD(SDO_Model_ReflectionDataObject, getContainmentProperty);
/* }}} */
/* {{{ proto mixed SDO_Exception::getCause()
Returns the cause of this exception or NULL if the cause is nonexistent or unknown.
*/
PHP_METHOD(SDO_Exception, getCause);
/* }}} */
/* {{{ proto string SDO_CPPException::getClass()
Returns the name of the C++ exception class .
*/
PHP_METHOD(SDO_CPPException, getClass);
/* }}} */
/* {{{ proto string SDO_CPPException::getFile()
Returns the C++ file where the error occurred.
*/
PHP_METHOD(SDO_CPPException, getFile);
/* }}} */
/* {{{ proto string SDO_CPPException::getLine()
Returns the C++ line number where the error occurred.
*/
PHP_METHOD(SDO_CPPException, getLine);
/* }}} */
/* {{{ proto string SDO_CPPException::getFunction()
Returns the name of the C++ function where the error occurred.
*/
PHP_METHOD(SDO_CPPException, getFunction);
/* }}} */
/* {{{ proto string SDO_CPPException::getMessage()
Returns the detailed error text from the C++ exception.
*/
PHP_METHOD(SDO_CPPException, getMessage);
/* }}} */
/* {{{ proto integer SDO_CPPException::getSeverity()
Returns the severity level from the C++ exception.
*/
PHP_METHOD(SDO_CPPException, getSeverity);
/* }}} */
/* {{{ proto string SDO_CPPException::__toString()
Return a string representation of the object.
*/
PHP_METHOD(SDO_CPPException, __toString);
/* }}} */
/* {{{ Implementation methods */
PHP_METHOD(SDO_DAS_DataFactoryImpl, create);
PHP_METHOD(SDO_DAS_DataFactoryImpl, addType);
PHP_METHOD(SDO_DAS_DataFactoryImpl, addPropertyToType);
PHP_METHOD(SDO_DataObjectImpl, __construct);
PHP_METHOD(SDO_DataObjectImpl, getTypeName);
PHP_METHOD(SDO_DataObjectImpl, getTypeNamespaceURI);
PHP_METHOD(SDO_DataObjectImpl, getSequence);
PHP_METHOD(SDO_DataObjectImpl, createDataObject);
PHP_METHOD(SDO_DataObjectImpl, clear);
PHP_METHOD(SDO_DataObjectImpl, getContainer);
PHP_METHOD(SDO_DataObjectImpl, getContainmentPropertyName);
PHP_METHOD(SDO_DataObjectImpl, getChangeSummary);
PHP_METHOD(SDO_DataObjectImpl, __get);
PHP_METHOD(SDO_DataObjectImpl, __set);
PHP_METHOD(SDO_DataObjectImpl, count);
PHP_METHOD(SDO_SequenceImpl, getProperty);
PHP_METHOD(SDO_SequenceImpl, getPropertyIndex);
PHP_METHOD(SDO_SequenceImpl, getPropertyName);
PHP_METHOD(SDO_SequenceImpl, move);
PHP_METHOD(SDO_SequenceImpl, insert);
PHP_METHOD(SDO_SequenceImpl, count);
PHP_METHOD(SDO_Model_TypeImpl, __construct);
PHP_METHOD(SDO_Model_TypeImpl, getName);
PHP_METHOD(SDO_Model_TypeImpl, getNamespaceURI);
PHP_METHOD(SDO_Model_TypeImpl, isInstance);
PHP_METHOD(SDO_Model_TypeImpl, getProperties);
PHP_METHOD(SDO_Model_TypeImpl, getProperty);
PHP_METHOD(SDO_Model_TypeImpl, isDataType);
PHP_METHOD(SDO_Model_TypeImpl, isSequencedType);
PHP_METHOD(SDO_Model_TypeImpl, isOpenType);
PHP_METHOD(SDO_Model_TypeImpl, isAbstractType);
PHP_METHOD(SDO_Model_TypeImpl, getBaseType);
PHP_METHOD(SDO_Model_PropertyImpl, __construct);
PHP_METHOD(SDO_Model_PropertyImpl, getName);
PHP_METHOD(SDO_Model_PropertyImpl, getType);
PHP_METHOD(SDO_Model_PropertyImpl, isMany);
PHP_METHOD(SDO_Model_PropertyImpl, isReadOnly);
PHP_METHOD(SDO_Model_PropertyImpl, isContainment);
PHP_METHOD(SDO_Model_PropertyImpl, getOpposite);
PHP_METHOD(SDO_Model_PropertyImpl, getContainingType);
PHP_METHOD(SDO_Model_PropertyImpl, getDefault);
/* }}} */
/* In every utility function you add that needs to use variables
in php_sdo_globals, call TSRMLS_FETCH(); after declaring other
variables used by that function, or better yet, pass in TSRMLS_CC
after the last function argument and declare your utility function
with TSRMLS_DC after the last declared argument. Always refer to
the globals in your function as SDO_G(variable). You are
encouraged to rename these macros something shorter, see
examples in any other php module directory.
*/
#ifdef ZTS
# define SDO_G(v) TSRMG(sdo_globals_id, zend_sdo_globals *, v)
#else
# define SDO_G(v) (sdo_globals.v)
#endif
#endif /* PHP_SDO_H */
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* End:
* vim600: noet sw=4 ts=4 fdm=marker
* vim<600: noet sw=4 ts=4
*/