PHP Developer's Dictionary- P68

PHP Developer's Dictionary- P68:PHP is an open source, server-side, HTML-embedded scripting language used to create dynamically generated Web pages. With an easy-to-use syntax and a large, extensible library of modules, PHP brings together the best of Perl, C++, and other languages. | PHP Developer s Dictionary name A string that contains the name of the element for which this handler is called. Case-folding will cause the name to be in uppercase characters. attribs An associative array with the element s attributes where the name is the key and values are the attribute s values. The attribute name values may be case-folded along with the element names but the attribute values are not case-folded. The endEiementHandier function must have two parameters parser An integer value that is a reference to the XML parser that called the handle. name A string that contains the name of the element for which this handler is called. Case-folding will cause the name to be in uppercase characters. xml_set_character_data_handler Syntax int xml_set_character_data_handler int parser string handler Description The xml_set_character_data_handler function which was added in PHP and PHP 4 defines the character data-handler function for the XML parser parser . The handier parameter contains the name of a function that must exist when xmi_parse is called for parser . If the handler function is empty or FALSE the parser will be disabled. A return value of TRUE indicates that the handier function was set properly and FALSE indicates that parser is invalid. The handier function must take two parameters parser A reference to the XML parser which called the handler data The character string xml_set_processing_instruction_handler Syntax int xml_set_processing_instruction_handler int parser string handler Description IT-SC book 335 PHP Developer s Dictionary The xml_set_processing_instruction_handler function which was added in PHP and PHP sets the processing instruction handler for the given parser . The processing function must follow this format target data You can also put PHP code into the tag but the limitation is that in an XML processing instruction PI the PI end tag cannot be quoted. If the handler function is empty or FALSE the parser will be .

Không thể tạo bản xem trước, hãy bấm tải xuống
TÀI LIỆU MỚI ĐĂNG
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.