php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
php_xsl.h File Reference
#include "php_version.h"
#include <libxslt/xsltconfig.h>
#include <libxslt/xsltInternals.h>
#include <libxslt/xsltutils.h>
#include <libxslt/transform.h>
#include <libxslt/security.h>
#include "ext/dom/xml_common.h"
#include "ext/dom/xpath_callbacks.h"
#include <libxslt/extensions.h>
#include <libxml/xpathInternals.h>

Go to the source code of this file.

Data Structures

struct  xsl_object
 

Macros

#define phpext_xsl_ptr   &xsl_module_entry
 
#define PHP_XSL_VERSION   PHP_VERSION
 
#define XSL_SECPREF_NONE   0
 
#define XSL_SECPREF_READ_FILE   2
 
#define XSL_SECPREF_WRITE_FILE   4
 
#define XSL_SECPREF_CREATE_DIRECTORY   8
 
#define XSL_SECPREF_READ_NETWORK   16
 
#define XSL_SECPREF_WRITE_NETWORK   32
 
#define XSL_SECPREF_DEFAULT   (XSL_SECPREF_WRITE_NETWORK | XSL_SECPREF_CREATE_DIRECTORY | XSL_SECPREF_WRITE_FILE)
 
#define Z_XSL_P(zv)
 

Typedefs

typedef struct xsl_object xsl_object
 

Functions

void php_xsl_set_object (zval *wrapper, void *obj)
 
void xsl_free_sheet (xsl_object *intern)
 
void xsl_objects_free_storage (zend_object *object)
 
void xsl_ext_function_string_php (xmlXPathParserContextPtr ctxt, int nargs)
 
void xsl_ext_function_object_php (xmlXPathParserContextPtr ctxt, int nargs)
 
zvalxsl_prop_max_template_depth (zend_object *object)
 
zvalxsl_prop_max_template_vars (zend_object *object)
 
 PHP_MINIT_FUNCTION (xsl)
 
 PHP_MSHUTDOWN_FUNCTION (xsl)
 
 PHP_RINIT_FUNCTION (xsl)
 
 PHP_RSHUTDOWN_FUNCTION (xsl)
 
 PHP_MINFO_FUNCTION (xsl)
 

Variables

zend_module_entry xsl_module_entry
 

Macro Definition Documentation

◆ PHP_XSL_VERSION

#define PHP_XSL_VERSION   PHP_VERSION

Definition at line 24 of file php_xsl.h.

◆ phpext_xsl_ptr

#define phpext_xsl_ptr   &xsl_module_entry

Definition at line 21 of file php_xsl.h.

◆ XSL_SECPREF_CREATE_DIRECTORY

#define XSL_SECPREF_CREATE_DIRECTORY   8

Definition at line 49 of file php_xsl.h.

◆ XSL_SECPREF_DEFAULT

Definition at line 53 of file php_xsl.h.

◆ XSL_SECPREF_NONE

#define XSL_SECPREF_NONE   0

Definition at line 46 of file php_xsl.h.

◆ XSL_SECPREF_READ_FILE

#define XSL_SECPREF_READ_FILE   2

Definition at line 47 of file php_xsl.h.

◆ XSL_SECPREF_READ_NETWORK

#define XSL_SECPREF_READ_NETWORK   16

Definition at line 50 of file php_xsl.h.

◆ XSL_SECPREF_WRITE_FILE

#define XSL_SECPREF_WRITE_FILE   4

Definition at line 48 of file php_xsl.h.

◆ XSL_SECPREF_WRITE_NETWORK

#define XSL_SECPREF_WRITE_NETWORK   32

Definition at line 51 of file php_xsl.h.

◆ Z_XSL_P

#define Z_XSL_P ( zv)
Value:
php_xsl_fetch_object(Z_OBJ_P((zv)))
zval * zv
Definition ffi.c:3975
#define Z_OBJ_P(zval_p)
Definition zend_types.h:990

Definition at line 71 of file php_xsl.h.

Typedef Documentation

◆ xsl_object

typedef struct xsl_object xsl_object

Function Documentation

◆ PHP_MINFO_FUNCTION()

PHP_MINFO_FUNCTION ( xsl )

Definition at line 333 of file php_xsl.c.

◆ PHP_MINIT_FUNCTION()

PHP_MINIT_FUNCTION ( xsl )

Definition at line 266 of file php_xsl.c.

◆ PHP_MSHUTDOWN_FUNCTION()

PHP_MSHUTDOWN_FUNCTION ( xsl )

Definition at line 319 of file php_xsl.c.

◆ PHP_RINIT_FUNCTION()

PHP_RINIT_FUNCTION ( xsl )

◆ PHP_RSHUTDOWN_FUNCTION()

PHP_RSHUTDOWN_FUNCTION ( xsl )

◆ php_xsl_set_object()

void php_xsl_set_object ( zval * wrapper,
void * obj )

Definition at line 308 of file php_xsl.c.

◆ xsl_ext_function_object_php()

void xsl_ext_function_object_php ( xmlXPathParserContextPtr ctxt,
int nargs )

Definition at line 110 of file xsltprocessor.c.

◆ xsl_ext_function_string_php()

void xsl_ext_function_string_php ( xmlXPathParserContextPtr ctxt,
int nargs )

Definition at line 104 of file xsltprocessor.c.

◆ xsl_free_sheet()

void xsl_free_sheet ( xsl_object * intern)

Definition at line 61 of file php_xsl.c.

◆ xsl_objects_free_storage()

void xsl_objects_free_storage ( zend_object * object)

Definition at line 77 of file php_xsl.c.

◆ xsl_prop_max_template_depth()

zval * xsl_prop_max_template_depth ( zend_object * object)

◆ xsl_prop_max_template_vars()

zval * xsl_prop_max_template_vars ( zend_object * object)

Variable Documentation

◆ xsl_module_entry

zend_module_entry xsl_module_entry
extern

Definition at line 36 of file php_xsl.c.