Searched defs:attr (Results 1 - 25 of 30) sorted by relevance

12

/PHP_5_4/ext/dom/examples/
H A Ddom1.php41 //$attr = $dom->createAttribute("src", "picture.gif");
42 //print_r($attr);
44 //$rootnode->set_attributeNode($attr);
45 $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
[all...]
/PHP_5_4/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_4/ext/xmlrpc/libxmlrpc/
H A Dxml_element.c610 xml_element_attr* attr = malloc(sizeof(xml_element_attr)); local
611 if(attr) {
612 attr->key = strdup(*p);
613 attr->val = strdup(*(p+1));
614 Q_PushTail(&mydata->current->attrs, attr);
H A Dxml_to_soap.c69 xml_element_attr* attr = malloc(sizeof(xml_element_attr)); local
70 if (attr) {
71 attr->key = key ? strdup(key) : NULL;
72 attr->val = val ? strdup(val) : NULL;
74 return attr;
/PHP_5_4/ext/pdo/
H A Dpdo_stmt.c1743 long attr; local
1747 if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "lz!", &attr, &value)) {
1756 if (stmt->methods->set_attribute(stmt, attr, value TSRMLS_CC)) {
1773 static int generic_stmt_attr_get(pdo_stmt_t *stmt, zval *return_value, long attr) argument
1775 switch (attr) {
1785 long attr; local
1788 if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &attr)) {
1793 if (!generic_stmt_attr_get(stmt, return_value, attr)) {
1802 switch (stmt->methods->get_attribute(stmt, attr, return_value TSRMLS_CC)) {
1808 if (!generic_stmt_attr_get(stmt, return_value, attr)) {
[all...]
H A Dpdo_dbh.c39 static int pdo_dbh_attribute_set(pdo_dbh_t *dbh, long attr, zval *value TSRMLS_DC);
710 static int pdo_dbh_attribute_set(pdo_dbh_t *dbh, long attr, zval *value TSRMLS_DC) /* {{{ */ argument
720 switch (attr) {
850 if (dbh->methods->set_attribute(dbh, attr, value TSRMLS_CC)) {
855 if (attr == PDO_ATTR_AUTOCOMMIT) {
871 long attr; local
874 if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "lz", &attr, &value)) {
881 if (pdo_dbh_attribute_set(dbh, attr, value TSRMLS_CC) != FAILURE) {
893 long attr; local
895 if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &attr)) {
[all...]
/PHP_5_4/ext/pdo_mysql/
H A Dmysql_driver.c371 static int pdo_mysql_set_attribute(pdo_dbh_t *dbh, long attr, zval *val TSRMLS_DC) argument
375 PDO_DBG_INF_FMT("attr=%l", attr);
376 switch (attr) {
417 static int pdo_mysql_get_attribute(pdo_dbh_t *dbh, long attr, zval *return_value TSRMLS_DC) argument
423 PDO_DBG_INF_FMT("attr=%l", attr);
424 switch (attr) {
/PHP_5_4/ext/pdo_oci/
H A Doci_driver.c443 static int oci_handle_set_attribute(pdo_dbh_t *dbh, long attr, zval *val TSRMLS_DC) /* {{{ */ argument
447 if (attr == PDO_ATTR_AUTOCOMMIT) {
470 static int oci_handle_get_attribute(pdo_dbh_t *dbh, long attr, zval *return_value TSRMLS_DC) /* {{{ */ argument
474 switch (attr) {
486 if (attr == PDO_ATTR_SERVER_INFO) {
/PHP_5_4/ext/pdo_odbc/
H A Dodbc_driver.c339 static int odbc_handle_set_attr(pdo_dbh_t *dbh, long attr, zval *val TSRMLS_DC) argument
342 switch (attr) {
354 static int odbc_handle_get_attr(pdo_dbh_t *dbh, long attr, zval *val TSRMLS_DC) argument
357 switch (attr) {
387 odbc_handle_get_attr, /* get attr */
H A Dodbc_stmt.c742 static int odbc_stmt_set_param(pdo_stmt_t *stmt, long attr, zval *val TSRMLS_DC) argument
747 switch (attr) {
769 static int odbc_stmt_get_attr(pdo_stmt_t *stmt, long attr, zval *val TSRMLS_DC) argument
774 switch (attr) {
834 odbc_stmt_get_attr, /* get attr */
/PHP_5_4/ext/pdo_sqlite/
H A Dsqlite_driver.c283 static int pdo_sqlite_get_attribute(pdo_dbh_t *dbh, long attr, zval *return_value TSRMLS_DC) argument
285 switch (attr) {
298 static int pdo_sqlite_set_attr(pdo_dbh_t *dbh, long attr, zval *val TSRMLS_DC) argument
302 switch (attr) {
/PHP_5_4/ext/soap/
H A Dphp_encoding.c302 xmlAttrPtr attr = (*node_ptr)->properties; local
313 attr = get_attribute(attr, "id");
314 if (attr == NULL || attr->ns == NULL) {
317 attr = attr->next;
319 if (attr) {
320 id = (char*)attr->children->content;
335 attr
1598 sdlAttributePtr *attr; local
2001 sdlAttributePtr *attr; local
2574 xmlAttrPtr attr; local
[all...]
H A Dphp_packet_soap.c30 xmlAttrPtr attr; local
82 attr = env->properties;
83 while (attr != NULL) {
84 if (attr->ns == NULL) {
88 } else if (attr_is_equal_ex(attr,"encodingStyle",SOAP_1_2_ENV_NAMESPACE)) {
93 } else if (strcmp((char*)attr->children->content, SOAP_1_1_ENC_NAMESPACE) != 0) {
99 attr = attr->next;
130 attr = body->properties;
131 while (attr !
[all...]
H A Dphp_schema.c984 xmlAttrPtr attr = get_attribute(node->properties, "minOccurs"); local
986 if (attr) {
987 model->min_occurs = atoi((char*)attr->children->content);
992 attr = get_attribute(node->properties, "maxOccurs");
993 if (attr) {
994 if (!strncmp((char*)attr->children->content, "unbounded", sizeof("unbounded"))) {
997 model->max_occurs = atoi((char*)attr->children->content);
1489 xmlAttrPtr attrs, attr, ns, name, type, ref = NULL; local
1590 attr = get_attribute(attrs, "nillable");
1591 if (attr) {
1731 xmlAttrPtr attr, name, ref = NULL, type = NULL; local
2049 sdlExtraAttributePtr *attr = (sdlExtraAttributePtr*)attribute; local
2080 schema_attribute_fixup(sdlCtx *ctx, sdlAttributePtr attr) argument
2130 schema_attributegroup_fixup(sdlCtx *ctx, sdlAttributePtr attr, HashTable *ht) argument
2235 sdlAttributePtr *attr; local
2292 sdlAttributePtr *attr; local
2481 sdlExtraAttributePtr attr = *((sdlExtraAttributePtr*)attribute); local
2494 sdlExtraAttributePtr attr = *((sdlExtraAttributePtr*)attribute); local
2507 sdlAttributePtr attr = *((sdlAttributePtr*)attribute); local
2533 sdlAttributePtr attr = *((sdlAttributePtr*)attribute); local
[all...]
H A Dphp_xml.c276 xmlAttrPtr attr; local
286 attr = get_attribute_ex(node->properties, attribute, attr_ns);
287 if (attr != NULL && strcmp((char*)attr->children->content, value) == 0) {
299 xmlAttrPtr attr = get_attribute_ex(node->properties, attribute, attr_ns); local
300 if (attr != NULL && strcmp((char*)attr->children->content, value) == 0) {
/PHP_5_4/ext/standard/
H A Dlink_win32.c119 DWORD attr; local
169 if ((attr = GetFileAttributes(topath)) == INVALID_FILE_ATTRIBUTES) {
177 ret = pCreateSymbolicLinkA(source_p, topath, (attr & FILE_ATTRIBUTE_DIRECTORY ? 1 : 0));
/PHP_5_4/ext/xmlrpc/
H A Dxmlrpc-epi-php.c1439 zval** attr; local
1442 if (zend_hash_find(Z_OBJPROP_P(value), OBJECT_TYPE_ATTR, sizeof(OBJECT_TYPE_ATTR), (void**) &attr) == SUCCESS) {
1443 if (Z_TYPE_PP(attr) == IS_STRING) {
1444 type = xmlrpc_str_as_type(Z_STRVAL_PP(attr));
/PHP_5_4/ext/com_dotnet/
H A Dcom_typeinfo.c334 TYPEATTR *attr; local
337 ITypeInfo_GetTypeAttr(coinfo, &attr);
339 for (i = 0; i < attr->cImplTypes; i++) {
359 ITypeInfo_ReleaseTypeAttr(coinfo, attr);
436 TYPEATTR *attr; local
444 if (FAILED(ITypeInfo_GetTypeAttr(typeinfo, &attr))) {
449 if (id_to_name == NULL || attr->typekind == TKIND_DISPATCH) {
452 memcpy(guid, &attr->guid, sizeof(GUID));
462 guidstring = php_com_string_from_clsid(&attr->guid, codepage TSRMLS_CC);
474 for (i = 0; i < attr
[all...]
/PHP_5_4/ext/dom/
H A Delement.c111 ZEND_ARG_OBJ_INFO(0, attr, DOMAttr, 0)
336 xmlNodePtr attr; local
345 attr = dom_get_dom1_attribute(nodep, (xmlChar *)name);
346 if (attr) {
347 switch (attr->type) {
349 value = xmlNodeListGetString(attr->doc, attr->children, 1);
352 value = xmlStrdup(((xmlNsPtr)attr)->href);
355 value = xmlStrdup(((xmlAttributePtr)attr)->defaultValue);
376 xmlNodePtr attr local
746 xmlAttr *attr; local
1064 xmlNodePtr attr; local
[all...]
/PHP_5_4/ext/pdo_pgsql/
H A Dpgsql_driver.c377 static int pdo_pgsql_get_attribute(pdo_dbh_t *dbh, long attr, zval *return_value TSRMLS_DC) argument
381 switch (attr) {
1000 static int pdo_pgsql_set_attr(pdo_dbh_t *dbh, long attr, zval *val TSRMLS_DC) argument
1004 switch (attr) {
/PHP_5_4/ext/mysqli/
H A Dmysqli_api.c2248 /* {{{ proto int mysqli_stmt_attr_set(object stmt, long attr, long mode)
2259 ulong attr; local
2262 if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "Oll", &mysql_stmt, mysqli_stmt_class_entry, &attr, &mode_in) == FAILURE) {
2272 switch (attr) {
2285 if (mysql_stmt_attr_set(stmt->stmt, attr, mode_p)) {
2287 if (FAIL == mysql_stmt_attr_set(stmt->stmt, attr, mode_p)) {
2295 /* {{{ proto int mysqli_stmt_attr_get(object stmt, long attr)
2302 ulong attr; local
2305 if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "Ol", &mysql_stmt, mysqli_stmt_class_entry, &attr) == FAILURE) {
2310 if ((rc = mysql_stmt_attr_get(stmt->stmt, attr,
[all...]
/PHP_5_4/ext/pdo_firebird/
H A Dfirebird_statement.c633 static int firebird_stmt_set_attribute(pdo_stmt_t *stmt, long attr, zval *val TSRMLS_DC) /* {{{ */ argument
637 switch (attr) {
654 static int firebird_stmt_get_attribute(pdo_stmt_t *stmt, long attr, zval *val TSRMLS_DC) /* {{{ */ argument
658 switch (attr) {
H A Dfirebird_driver.c472 static int firebird_handle_set_attribute(pdo_dbh_t *dbh, long attr, zval *val TSRMLS_DC) /* {{{ */ argument
476 switch (attr) {
547 static int firebird_handle_get_attribute(pdo_dbh_t *dbh, long attr, zval *val TSRMLS_DC) /* {{{ */ argument
551 switch (attr) {
/PHP_5_4/ext/simplexml/
H A Dsimplexml.c254 xmlAttrPtr attr = NULL; local
287 attr = (xmlAttrPtr)node;
291 attr = node ? node->properties : NULL;
308 while (attr && nodendx <= Z_LVAL_P(member)) {
309 if ((!test || !xmlStrcmp(attr->name, sxe->iter.name)) && match_ns(sxe, (xmlNodePtr) attr, sxe->iter.nsprefix, sxe->iter.isprefix)) {
311 _node_as_zval(sxe, (xmlNodePtr) attr, return_value, SXE_ITER_NONE, NULL, sxe->iter.nsprefix, sxe->iter.isprefix TSRMLS_CC);
316 attr = attr->next;
319 while (attr) {
459 xmlAttrPtr attr = NULL; local
740 xmlAttrPtr attr = NULL; local
870 xmlAttrPtr attr = NULL; local
1069 xmlAttrPtr attr; local
1453 xmlAttrPtr attr; local
[all...]

Completed in 41 milliseconds

12