Спросить у Google

Вы искали: initialization (Японский - Китайский (упрощенный))

Переводы пользователей

Добавлены профессиональными переводчиками и компаниями и на основе веб-страниц и открытых баз переводов.

Добавить перевод

Японский

Китайский (упрощенный)

Информация

Японский

表 39-1Macros to Access Initialization Entries in PHP

Китайский (упрощенный)

Returns the original value of entry name as Boolean (defined as zend_bool, which currently means unsigned char).

Последнее обновление: 2011-10-24
Частота использования: 1
Качество:

Японский

Access to initialization entries can also be handled with the macros shown in 表39-1.

Китайский (упрощенный)

INI_ORIG_INT(name)

Последнее обновление: 2011-10-24
Частота использования: 1
Качество:

Японский

PHP 4 features a redesigned initialization file support. It's now possible to specify default initialization entries directly in your code, read and change these values at runtime, and create message handlers for change notifications.

Китайский (упрощенный)

PHP 4 features a redesigned initialization file support. It's now possible to specify default initialization entries directly in your code, read and change these values at runtime, and create message handlers for change notifications.

Последнее обновление: 2011-10-24
Частота использования: 1
Качество:

Японский

To create a new resource you need to register a resource destruction handler for it. Since you can store any kind of data as a resource, Zend needs to know how to free this resource if its not longer needed. This works by registering your own resource destruction handler to Zend which in turn gets called by Zend whenever your resource can be freed (whether manually or automatically). Registering your resource handler within Zend returns you the resource type handle for that resource. This handle is needed whenever you want to access a resource of this type later and is most of time stored in a global static variable within your extension. There is no need to worry about thread safety here because you only register your resource handler once during module initialization.

Китайский (упрощенный)

The Zend function to register your resource handler is defined as:

Последнее обновление: 2011-10-24
Частота использования: 1
Качество:

Японский

The change-notification handlers should be used to cache initialization entries locally for faster access or to perform certain tasks that are required if a value changes. For example, if a constant connection to a certain host is required by a module and someone changes the hostname, automatically terminate the old connection and attempt a new one.

Китайский (упрощенный)

Access to initialization entries can also be handled with the macros shown in 桶跡 39-1.

Последнее обновление: 2011-10-24
Частота использования: 1
Качество:

Японский

The module startup and shutdown functions are called whenever a module is loaded and needs initialization; the request startup and shutdown functions are called every time a request is processed (meaning that a file is being executed).

Китайский (упрощенный)

For dynamic extensions, module and request startup/shutdown events happen at the same time.

Последнее обновление: 2011-10-24
Частота использования: 1
Качество:

Японский

The fourth parameter consists of a pointer to a change-notification handler. Whenever one of these initialization entries is changed, this handler is called. Such a handler can be declared using the PHP_INI_MH macro:

Китайский (упрощенный)

#define PHP_INI_MH(name) int name(php_ini_entry *entry, char *new_value, uint new_value_length, void *mh_arg1, void *mh_arg2, void *mh_arg3)

Последнее обновление: 2011-10-24
Частота использования: 1
Качество:

Японский

Startup and shutdown functions can be used for one-time initialization and deinitialization of your modules. As discussed earlier in this chapter (see the description of the Zend module descriptor block), there are module, and request startup and shutdown events.

Китайский (упрощенный)

Startup and shutdown functions can be used for one-time initialization and deinitialization of your modules. As discussed earlier in this chapter (see the description of the Zend module descriptor block), there are module, and request startup and shutdown events.

Последнее обновление: 2011-10-24
Частота использования: 1
Качество:

Японский

Finally, you have to introduce your initialization entries to PHP. This can be done in the module startup and shutdown functions, using the macros REGISTER_INI_ENTRIES() and UNREGISTER_INI_ENTRIES():

Китайский (упрощенный)

ZEND_MINIT_FUNCTION(mymodule) {REGISTER_INI_ENTRIES();} ZEND_MSHUTDOWN_FUNCTION(mymodule) {UNREGISTER_INI_ENTRIES();}

Последнее обновление: 2011-10-24
Частота использования: 1
Качество:

Получите качественный перевод благодаря усилиям
4,401,923,520 пользователей

Сейчас пользователи ищут:



Для Вашего удобства мы используем файлы cookie. Факт перехода на данный сайт подтверждает Ваше согласие на использование cookies. Подробнее. OK