Home
last modified time | relevance | path

Searched refs:attr (Results 1 – 25 of 93) sorted by relevance

1234

/PHP-5.3/ext/intl/doc/
H A Dformatter_api.php230 * @param integer $attr One of UNumberFormatAttribute constants
234 public function setAttribute($attr, $value) {} argument
242 * @param integer $attr One of UNumberFormatTextAttribute constants
246 public function setTextAttribute($attr, $value) {} argument
258 public function setSymbol($attr, $value) {} argument
273 * @param integer $attr One of UNumberFormatAttribute constants
276 public function getAttribute($attr) {} argument
280 * @param integer $attr One of UNumberFormatTextAttribute constants
283 public function getTextAttribute($attr) {} argument
290 public function getSymbol($attr) {} argument
[all …]
H A Dcollator_api.php188 * @param int $attr Attribute to get value for.
192 public function getAttribute( $attr ) {} argument
199 * @param int $attr Attribute.
204 public function setAttribute( $attr, $val ) {} argument
343 * @param int $attr Attribute to get value for.
347 function collator_get_attribute( $coll, $attr ) {} argument
372 * @param int $attr Attribute.
377 function collator_set_attribute( $coll, $attr, $val ) {} argument
/PHP-5.3/ext/dom/examples/
H A Ddom1.php45 $attr = $rootnode->setAttribute("src", "picture.gif"); variable
46 $attr = $rootnode->getAttribute("src"); variable
47 print_r($attr);
51 $attr = $rootnode->getAttributeNode("src"); variable
52 print_node($attr);
55 $attr = $rootnode->removeAttribute("src"); variable
56 print "Removed " . $attr . " attributes.\n";
/PHP-5.3/ext/xmlreader/tests/
H A D003.phpt23 $attr = $reader->moveToFirstAttribute();
28 echo "1st attr (num) failed\n";
32 $attr = $reader->moveToNextAttribute();
37 echo "2nd attr (idx) failed\n";
41 $attr = $reader->moveToAttribute('num');
46 echo "attr num failed\n";
49 $attr = $reader->moveToAttribute('idx');
54 echo "attr idx failed\n";
58 $attr = $reader->moveToAttributeNo(0);
63 echo "attr 0 failed\n";
[all …]
/PHP-5.3/ext/dom/tests/
H A Dregsiter_node_class.phpt23 $attr = $root->getAttributeNode('a');
24 echo get_class($attr), "\n";
25 print $attr->testit()."\n";
26 unset($attr);
28 $attr = $root->getAttributeNode('a');
29 echo get_class($attr), "\n";
30 print $attr->testit()."\n";
H A Dbug47848.phpt12 $fromdom->loadXML('<data xmlns:ai="http://altruists.org" ai:attr="namespaced" />');
14 $attr= $fromdom->firstChild->attributes->item(0);
16 $att = $aDOM->importNode($attr);
18 $aDOM->documentElement->appendChild($aDOM->importNode($attr, true));
25 <f2f:a xmlns:f2f="http://friend2friend.net/" xmlns:ai="http://altruists.org" ai:attr="namespaced"/>
H A DDOMAttr_value_basic_002.phpt10 $attr = new DOMAttr('category');
11 $attr->value = 1;
12 print $attr->value;
H A Dbug45251.phpt21 foreach ($bbb->attributes as $attr)
23 $ccc->setAttributeNode($attr);
26 echo $attr->parentNode->localName;
H A DDOMDocument_createAttribute_variation.phpt9 $attr = $dom->createAttribute('string');
10 echo get_class($attr);
H A DDOMAttr_name_basic_001.phpt10 $attr = new DOMAttr('category', 'books');
11 print $attr->name;
/PHP-5.3/ext/pdo_mysql/tests/
H A Dbug_61411.phpt25 $attr = getenv('PDOTEST_ATTR');
26 if (!$attr) {
27 $attr = array();
29 $attr = unserialize($attr);
31 $attr[PDO::ATTR_PERSISTENT] = true;
32 $attr[PDO::ATTR_EMULATE_PREPARES] = false;
33 putenv('PDOTEST_ATTR='.serialize($attr));
/PHP-5.3/ext/soap/
H A Dphp_schema.c986 if (attr) { in schema_min_max()
993 if (attr) { in schema_min_max()
1575 if (attr) { in schema_element()
1590 if (attr) { in schema_element()
1598 if (attr) { in schema_element()
1609 if (attr) { in schema_element()
1864 attr = attr->next; in schema_attribute()
2075 if (attr->name == NULL && attr->ref != NULL) { in schema_attribute_fixup()
2080 attr->name = estrdup(attr->ref); in schema_attribute_fixup()
2458 free(attr); in delete_extra_attribute_persistent()
[all …]
H A Dphp_packet_soap.c30 xmlAttrPtr attr; in parse_packet_soap() local
82 attr = env->properties; in parse_packet_soap()
83 while (attr != NULL) { in parse_packet_soap()
84 if (attr->ns == NULL) { in parse_packet_soap()
99 attr = attr->next; in parse_packet_soap()
130 attr = body->properties; in parse_packet_soap()
131 while (attr != NULL) { in parse_packet_soap()
132 if (attr->ns == NULL) { in parse_packet_soap()
149 attr = attr->next; in parse_packet_soap()
159 while (attr != NULL) { in parse_packet_soap()
[all …]
/PHP-5.3/ext/oci8/tests/
H A Dconn_attr_1.phpt27 foreach($attr_array as $attr) {
28 get_attr($c,$attr);
36 foreach($attr_array as $attr) {
37 set_attr($conn1,$attr,1);
38 get_attr($conn1,$attr);
42 foreach($attr_array as $attr) {
43 set_attr($conn2,$attr,2);
44 get_attr($conn2,$attr);
48 foreach($attr_array as $attr) {
49 set_attr($conn3,$attr,3);
[all …]
H A Dconn_attr.inc53 function get_attr($conn,$attr)
55 $sel_stmt="select " .$attr. " from v\$session where sid =
61 echo "The value of ".$attr ." is ".oci_result($s2,1)."\n";
90 function set_attr($conn,$attr,$sufix)
92 if (!strcmp($attr,'MODULE'))
94 else if (!strcmp($attr,'ACTION'))
96 else if (!strcmp($attr,'CLIENT_INFO'))
98 else if (!strcmp($attr,'CLIENT_IDENTIFIER'))
103 echo "Value of $attr has been set successfully\n";
129 function get_sys_attr($conn,$attr)
[all …]
H A Dconn_attr_2.phpt31 foreach($attr_array as $attr) {
32 set_attr($pc1,$attr,100);
38 foreach($attr_array as $attr) {
39 get_attr($pc3,$attr);
45 foreach($attr_array as $attr) {
46 get_attr($pc2,$attr);
53 // Re-open a persistent connection and check for the attr values.
56 foreach($attr_array as $attr) {
57 get_attr($pc4,$attr);
/PHP-5.3/ext/xmlreader/examples/
H A Dxmlreader_file.php10 $attr = $reader->moveToFirstAttribute(); variable
11 while ($attr) {
14 $attr = $reader->moveToNextAttribute(); variable
H A Dxmlreader_string.php21 $attr = $reader->moveToFirstAttribute(); variable
22 while ($attr) {
25 $attr = $reader->moveToNextAttribute(); variable
/PHP-5.3/ext/pdo/tests/
H A Dpdo_test.inc26 $attr = getenv('PDOTEST_ATTR');
27 if (is_string($attr) && strlen($attr)) {
28 $attr = unserialize($attr);
30 $attr = null;
36 $db = new $classname($dsn, $user, $pass, $attr);
/PHP-5.3/ext/simplexml/tests/
H A D012.phpt19 $sxe["attr"] = "value";
23 $sxe["attr"] = "new value";
36 <foo attr="value"/>
38 <foo attr="new value"/>
H A D020.phpt8 $doc = simplexml_load_string('<root><name attr="foo">bar</name></root>');
9 print $doc->name["attr"];
11 if ($doc->name["attr"] == "foo") {
H A D023.phpt15 <root attr='foo&nbsp;bar&nbsp;baz'></root>
21 var_dump($sxe['attr']);
28 ["attr"]=>
/PHP-5.3/ext/mysqli/tests/
H A Dmysqli_stmt_attr_get.phpt46 foreach ($valid_attr as $k => $attr) {
47 if (false === ($tmp = mysqli_stmt_attr_get($stmt, $attr))) {
49 gettype($tmp), $tmp, $k, $attr);
55 foreach ($valid_attr as $k => $attr) {
56 if (!is_null($tmp = @mysqli_stmt_attr_get($stmt, $attr))) {
58 gettype($tmp), $tmp, $k, $attr);
/PHP-5.3/ext/simplexml/
H A Dsimplexml.c316 attr = attr->next; in sxe_prop_dim_read()
324 attr = attr->next; in sxe_prop_dim_read()
576 attr = attr->next; in sxe_prop_dim_write()
585 attr = attr->next; in sxe_prop_dim_write()
791 attr = attr->next; in sxe_prop_dim_exists()
800 attr = attr->next; in sxe_prop_dim_exists()
804 …(!attr->children || !attr->children->content || !attr->children->content[0] || !xmlStrcmp(attr->ch… in sxe_prop_dim_exists()
922 attr = attr->next; in sxe_prop_dim_delete()
1118 attr = attr->next; in sxe_get_prop_hash()
1423 while (attr) { in sxe_add_namespaces()
[all …]
/PHP-5.3/ext/intl/tests/
H A Dformatter_get_set_text_attribute.phpt35 list( $attr, $new_val, $test_number ) = $data;
38 if( $attr == NumberFormatter::PADDING_CHARACTER )
42 $def_val = ut_nfmt_get_text_attribute( $fmt, $attr );
50 $res_val = ut_nfmt_set_text_attribute( $fmt, $attr, $new_val );
55 $new_val_check = ut_nfmt_get_text_attribute( $fmt, $attr );
64 ut_nfmt_set_text_attribute( $fmt, $attr, $def_val );
66 if( $attr == NumberFormatter::PADDING_CHARACTER )

Completed in 75 milliseconds

1234