RA
- #include <php.h>
- #include "control.h"
- zend_class_entry *ce_control;
- static function_entry control_methods[] = {
- PHP_ME(Control, __construct, NULL, ZEND_ACC_PUBLIC | ZEND_ACC_CTOR)
- PHP_ME(Control, render, NULL, ZEND_ACC_PUBLIC)
- {NULL, NULL, NULL}
- };
- void aleph_init_control(TSRMLS_D) {
- zend_class_entry ce;
- INIT_CLASS_ENTRY(ce, "Control", control_methods);
- ce_control = zend_register_internal_class(&ce TSRMLS_CC);
- zend_declare_property(ce_control, "attributes", strlen("attributes"), NULL, ZEND_ACC_PROTECTED TSRMLS_CC);
- zend_declare_property(ce_control, "properties", strlen("properties"), NULL, ZEND_ACC_PROTECTED TSRMLS_CC);
- }
- PHP_METHOD(Control, __construct) {
- }
- PHP_METHOD(Control, render) {
- }