PHP Classes

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

Recommend this page to a friend!
  Classes of Alien Fernandez   Phady Framework   ext/phady/8__closure.zep.c   Download  
File: ext/phady/8__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,195 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" #include "ext/phalcon/phalcon/flash/session.zep.h" ZEPHIR_INIT_CLASS(phady_8__closure) { ZEPHIR_REGISTER_CLASS(phady, 8__closure, phady, 8__closure, phady_8__closure_method_entry, ZEND_ACC_FINAL_CLASS); return SUCCESS; } PHP_METHOD(phady_8__closure, __invoke) { int ZEPHIR_LAST_CALL_STATUS; zval *_0; zval *flash; ZEPHIR_MM_GROW(); ZEPHIR_INIT_VAR(flash); object_init_ex(flash, phalcon_flash_session_ce); if (zephir_has_constructor(flash TSRMLS_CC)) { ZEPHIR_INIT_VAR(_0); zephir_create_array(_0, 3, 0 TSRMLS_CC); add_assoc_stringl_ex(_0, SS("error"), SL("alert alert-danger"), 1); add_assoc_stringl_ex(_0, SS("success"), SL("alert alert-success"), 1); add_assoc_stringl_ex(_0, SS("notice"), SL("alert alert-info"), 1); ZEPHIR_CALL_METHOD(NULL, flash, "__construct", NULL, 0, _0); zephir_check_call_status(); } RETURN_CCTOR(flash); }