Home
last modified time | relevance | path

Searched refs:attr (Results 26 – 50 of 98) sorted by relevance

1234

/PHP-5.5/ext/dom/tests/
H A DDOMAttr_name_basic_001.phpt10 $attr = new DOMAttr('category', 'books');
11 print $attr->name;
H A DDOMAttr_value_basic_001.phpt10 $attr = new DOMAttr('category');
11 print $attr->value."\n";
H A Dbug37456.phpt14 $attr = $root->setAttribute('bar', 'newval');
15 print $attr->nodeValue;
H A Ddom001.phpt46 //$attr = $dom->createAttribute("src", "picture.gif");
47 //print_r($attr);
49 //$rootnode->set_attributeNode($attr);
50 $attr = $rootnode->setAttribute("src", "picture.gif");
51 $attr = $rootnode->getAttribute("src");
52 print_r($attr);
56 $attr = $rootnode->getAttributeNode("src");
57 print_node($attr);
60 $attr = $rootnode->removeAttribute("src");
61 print "Removed " . $attr . " attributes.\n";
H A DDOMAttr_ownerElement_error_001.phpt14 $attr = $root->setAttribute('category', 'books');
17 var_dump($attr->ownerElement);
H A Dbug44648.phpt14 $attr = new DOMAttr('@acb', '123');
15 $root->setAttributeNode($attr);
H A Ddom_set_attr_node.phpt23 $attr = $root->getAttributeNode('a');
29 $root2->setAttributeNode($attr);
/PHP-5.5/ext/xmlreader/tests/
H A D004.phpt23 $attr = $reader->moveToFirstAttribute();
24 while ($attr) {
27 $attr = $reader->moveToNextAttribute();
/PHP-5.5/ext/soap/
H A Dphp_xml.h28 #define get_node_with_attribute(node, name, attr, val) get_node_with_attribute_ex(node, name, NULL,… argument
29 …ode_with_attribute_recursive(node, name, attr, val) get_node_with_attribute_recursive_ex(node, nam… argument
H A Dphp_xml.c279 xmlAttrPtr attr; in get_node_with_attribute_ex() local
289 attr = get_attribute_ex(node->properties, attribute, attr_ns); in get_node_with_attribute_ex()
290 if (attr != NULL && strcmp((char*)attr->children->content, value) == 0) { in get_node_with_attribute_ex()
302 xmlAttrPtr attr = get_attribute_ex(node->properties, attribute, attr_ns); in get_node_with_attribute_recursive_ex() local
303 if (attr != NULL && strcmp((char*)attr->children->content, value) == 0) { in get_node_with_attribute_recursive_ex()
H A Dphp_encoding.c313 attr = get_attribute(attr, "id"); in soap_check_zval_ref()
314 if (attr == NULL || attr->ns == NULL) { in soap_check_zval_ref()
317 attr = attr->next; in soap_check_zval_ref()
319 if (attr) { in soap_check_zval_ref()
335 attr = get_attribute_ex(attr, "id", SOAP_1_2_ENC_NAMESPACE); in soap_check_zval_ref()
336 if (attr) { in soap_check_zval_ref()
2584 attr->children && attr->children->content) { in to_zval_array()
2589 nsptr = xmlSearchNs(attr->doc, attr->parent, BAD_CAST(ns)); in to_zval_array()
2618 attr->children && attr->children->content) { in to_zval_array()
2627 attr->children && attr->children->content) { in to_zval_array()
[all …]
/PHP-5.5/ext/simplexml/tests/
H A Dprofile06.phpt14 $attr = $root->child->attributes('reserved-ns');
15 echo $attr['attribute'];
H A D026.phpt17 foreach($xml->attributes() as $attr => $value)
19 echo " $attr=\"$value\"";
H A D028.phpt15 foreach($xml->attributes() as $attr => $value)
17 echo " $attr=\"$value\"";
H A D018.phpt33 foreach($node->attributes() as $attr => $value) {
34 echo " $attr=\"$value\"";
/PHP-5.5/ext/pdo/tests/
H A Dbug_44159.phpt18 foreach ($attrs as $attr) {
19 var_dump($pdo->setAttribute($attr, NULL));
20 var_dump($pdo->setAttribute($attr, 1));
21 var_dump($pdo->setAttribute($attr, 'nonsense'));
/PHP-5.5/ext/intl/tests/
H A Dformatter_get_set_attribute.phpt16 // attr_name => array( attr, value )
46 list( $attr, $new_val, $number ) = $args;
50 $orig_val = ut_nfmt_get_attribute( $fmt, $attr );
63 $rc = ut_nfmt_set_attribute( $fmt, $attr, $new_val );
73 $attr_val_check = ut_nfmt_get_attribute( $fmt, $attr );
86 if( $attr != NumberFormatter::INTEGER_DIGITS && $attr != NumberFormatter::FRACTION_DIGITS
87 … && $attr != NumberFormatter::FORMAT_WIDTH && $attr != NumberFormatter::SIGNIFICANT_DIGITS_USED )
88 ut_nfmt_set_attribute( $fmt, $attr, $orig_val );
/PHP-5.5/Zend/tests/traits/
H A Dmethods_001.phpt15 public function __set($attr, $val) {
16 var_dump($attr .'==='. $val);
/PHP-5.5/ext/pdo_mysql/tests/
H A Dmysql_pdo_test.inc12 $attr = getenv('PDOTEST_ATTR');
14 if (is_string($attr) && strlen($attr)) {
15 $attr = unserialize($attr);
17 $attr = null;
24 $db = new $classname($dsn, $user, $pass, $attr);
/PHP-5.5/ext/dom/
H A Delement.c336 xmlNodePtr attr; in PHP_FUNCTION() local
346 if (attr) { in PHP_FUNCTION()
347 switch (attr->type) { in PHP_FUNCTION()
349 value = xmlNodeListGetString(attr->doc, attr->children, 1); in PHP_FUNCTION()
404 if (attr != NULL) { in PHP_FUNCTION()
405 switch (attr->type) { in PHP_FUNCTION()
424 if (!attr) { in PHP_FUNCTION()
746 xmlAttr *attr; in PHP_FUNCTION() local
844 if (attr != NULL && attr->type != XML_ATTRIBUTE_DECL) { in PHP_FUNCTION()
1064 xmlNodePtr attr; in PHP_FUNCTION() local
[all …]
/PHP-5.5/ext/com_dotnet/
H A Dcom_typeinfo.c334 TYPEATTR *attr; in php_com_locate_typeinfo() local
337 ITypeInfo_GetTypeAttr(coinfo, &attr); in php_com_locate_typeinfo()
339 for (i = 0; i < attr->cImplTypes; i++) { in php_com_locate_typeinfo()
359 ITypeInfo_ReleaseTypeAttr(coinfo, attr); in php_com_locate_typeinfo()
436 TYPEATTR *attr; in php_com_process_typeinfo() local
444 if (FAILED(ITypeInfo_GetTypeAttr(typeinfo, &attr))) { in php_com_process_typeinfo()
449 if (id_to_name == NULL || attr->typekind == TKIND_DISPATCH) { in php_com_process_typeinfo()
452 memcpy(guid, &attr->guid, sizeof(GUID)); in php_com_process_typeinfo()
462 guidstring = php_com_string_from_clsid(&attr->guid, codepage TSRMLS_CC); in php_com_process_typeinfo()
474 for (i = 0; i < attr->cFuncs; i++) { in php_com_process_typeinfo()
[all …]
/PHP-5.5/ext/xml/tests/
H A Dxml007.phpt13 function startHandler($parser,$tag,$attr)
15 var_dump($tag,$attr);
/PHP-5.5/ext/xmlwriter/tests/
H A D010.phpt15 var_dump(xmlwriter_start_attribute($xw, "attr"));
44 string(14) "<tag attr=""/>"
/PHP-5.5/ext/standard/
H A Dlink_win32.c119 DWORD attr; in PHP_FUNCTION() local
169 if ((attr = GetFileAttributes(topath)) == INVALID_FILE_ATTRIBUTES) { in PHP_FUNCTION()
177 ret = pCreateSymbolicLinkA(source_p, topath, (attr & FILE_ATTRIBUTE_DIRECTORY ? 1 : 0)); in PHP_FUNCTION()
/PHP-5.5/ext/intl/formatter/
H A Dformatter_class.c128 ZEND_ARG_INFO(0, attr)
132 ZEND_ARG_INFO(0, attr)
137 ZEND_ARG_INFO(0, attr)

Completed in 62 milliseconds

1234