2
* Copyright 2015-2016 DataStax, Inc.
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
* you may not use this file except in compliance with the License.
6
* You may obtain a copy of the License at
8
* http://www.apache.org/licenses/LICENSE-2.0
10
* Unless required by applicable law or agreed to in writing, software
11
* distributed under the License is distributed on an "AS IS" BASIS,
12
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
* See the License for the specific language governing permissions and
14
* limitations under the License.
17
#include "php_driver.h"
19
zend_class_entry *php_driver_column_ce = NULL;
21
ZEND_BEGIN_ARG_INFO_EX(arginfo_none, 0, ZEND_RETURN_VALUE, 0)
24
static zend_function_entry php_driver_column_methods[] = {
25
PHP_ABSTRACT_ME(Column, name, arginfo_none)
26
PHP_ABSTRACT_ME(Column, type, arginfo_none)
27
PHP_ABSTRACT_ME(Column, isReversed, arginfo_none)
28
PHP_ABSTRACT_ME(Column, isStatic, arginfo_none)
29
PHP_ABSTRACT_ME(Column, isFrozen, arginfo_none)
30
PHP_ABSTRACT_ME(Column, indexName, arginfo_none)
31
PHP_ABSTRACT_ME(Column, indexOptions, arginfo_none)
35
void php_driver_define_Column(TSRMLS_D)
39
INIT_CLASS_ENTRY(ce, PHP_DRIVER_NAMESPACE "\\Column", php_driver_column_methods);
40
php_driver_column_ce = zend_register_internal_class(&ce TSRMLS_CC);
41
php_driver_column_ce->ce_flags |= ZEND_ACC_INTERFACE;