File: ext/phady/util/file.zep.h

Recommend this page to a friend!
  Classes of Alien Fernandez  >  Phady Framework  >  ext/phady/util/file.zep.h  >  Download  
File: ext/phady/util/file.zep.h
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: 4 years ago
Size: 780 bytes
 

Contents

Class file image Download
extern zend_class_entry *phady_util_file_ce;

ZEPHIR_INIT_CLASS(Phady_Util_File);

PHP_METHOD(Phady_Util_File, downloadFile);
PHP_METHOD(Phady_Util_File, getContentType);

ZEND_BEGIN_ARG_INFO_EX(arginfo_phady_util_file_downloadfile, 0, 0, 3)
	ZEND_ARG_INFO(0, name)
	ZEND_ARG_INFO(0, path)
	ZEND_ARG_INFO(0, type)
	ZEND_ARG_INFO(0, contentDisposition)
ZEND_END_ARG_INFO()

ZEND_BEGIN_ARG_INFO_EX(arginfo_phady_util_file_getcontenttype, 0, 0, 1)
	ZEND_ARG_INFO(0, type)
ZEND_END_ARG_INFO()

ZEPHIR_INIT_FUNCS(phady_util_file_method_entry) {
	PHP_ME(Phady_Util_File, downloadFile, arginfo_phady_util_file_downloadfile, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
	PHP_ME(Phady_Util_File, getContentType, arginfo_phady_util_file_getcontenttype, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
	PHP_FE_END
};

For more information send a message to info at phpclasses dot org.