PHP Classes

File: ext/phady/3__closure.zep.c

Recommend this page to a friend!
  Classes of Alien Fernandez   Phady Framework   ext/phady/3__closure.zep.c   Download  
File: ext/phady/3__closure.zep.c
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Phady Framework
Web application MVC framework based on Phalcon
Author: By
Last change:
Date: 8 years ago
Size: 1,191 bytes
 

Contents

Class file image Download
#ifdef HAVE_CONFIG_H #include "../ext_config.h" #endif #include <php.h> #include "../php_ext.h" #include "../ext.h" #include <Zend/zend_operators.h> #include <Zend/zend_exceptions.h> #include <Zend/zend_interfaces.h> #include "kernel/main.h" #include "kernel/memory.h" #include "kernel/fcall.h" #include "kernel/array.h" ZEPHIR_INIT_CLASS(phady_3__closure) { ZEPHIR_REGISTER_CLASS(phady, 3__closure, phady, 3__closure, phady_3__closure_method_entry, ZEND_ACC_FINAL_CLASS); return SUCCESS; } PHP_METHOD(phady_3__closure, __invoke) { int ZEPHIR_LAST_CALL_STATUS; zval *routeCore, *_SERVER, *_0; ZEPHIR_MM_GROW(); zephir_get_global(&_SERVER, SS("_SERVER") TSRMLS_CC); ZEPHIR_INIT_VAR(routeCore); object_init_ex(routeCore, phady_route_router_ce); ZEPHIR_CALL_METHOD(NULL, routeCore, "__construct", NULL, 162); zephir_check_call_status(); zephir_array_fetch_string(&_0, _SERVER, SL("rootDirOk"), PH_NOISY | PH_READONLY, "phady/core/kernel.zep", 282 TSRMLS_CC); ZEPHIR_CALL_METHOD(NULL, routeCore, "setsystemroutes", NULL, 163, _0); zephir_check_call_status(); ZEPHIR_RETURN_CALL_METHOD(routeCore, "getrouter", NULL, 164); zephir_check_call_status(); RETURN_MM(); }