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

12

/PHP_5_3/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_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/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_3/ext/com_dotnet/
H A Dcom_typeinfo.c330 TYPEATTR *attr; local
333 ITypeInfo_GetTypeAttr(coinfo, &attr);
335 for (i = 0; i < attr->cImplTypes; i++) {
355 ITypeInfo_ReleaseTypeAttr(coinfo, attr);
432 TYPEATTR *attr; local
440 if (FAILED(ITypeInfo_GetTypeAttr(typeinfo, &attr))) {
445 if (id_to_name == NULL || attr->typekind == TKIND_DISPATCH) {
448 memcpy(guid, &attr->guid, sizeof(GUID));
458 guidstring = php_com_string_from_clsid(&attr->guid, codepage TSRMLS_CC);
470 for (i = 0; i < attr
[all...]
/PHP_5_3/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...]
H A Dphp_dom.c1509 xmlAttrPtr attr; local
1533 attr = child->properties;
1534 while (attr != NULL) {
1535 dom_normalize((xmlNodePtr) attr TSRMLS_CC);
1536 attr = attr->next;
/PHP_5_3/ext/ldap/
H A Dldap.c590 zval *link, *base_dn, **filter, *attrs, **attr; local
619 if (zend_hash_index_find(Z_ARRVAL_P(attrs), i, (void **) &attr) != SUCCESS) {
625 SEPARATE_ZVAL(attr);
626 convert_to_string_ex(attr);
627 ldap_attrs[i] = Z_STRVAL_PP(attr);
1138 char *attr; local
1142 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rrs", &link, &result_entry, &attr, &attr_len) != SUCCESS) {
1149 if ((ldap_value_len = ldap_get_values_len(ld->link, resultentry->data, attr)) == NULL) {
1486 /* {{{ proto bool ldap_compare(resource link, string dn, string attr, string value)
1491 char *dn, *attr, *valu local
[all...]
/PHP_5_3/ext/mysqli/
H A Dmysqli_api.c2234 /* {{{ proto int mysqli_stmt_attr_set(object stmt, long attr, long mode)
2245 ulong attr; local
2248 if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "Oll", &mysql_stmt, mysqli_stmt_class_entry, &attr, &mode_in) == FAILURE) {
2258 switch (attr) {
2271 if (mysql_stmt_attr_set(stmt->stmt, attr, mode_p)) {
2273 if (FAIL == mysql_stmt_attr_set(stmt->stmt, attr, mode_p)) {
2281 /* {{{ proto int mysqli_stmt_attr_get(object stmt, long attr)
2288 ulong attr; local
2291 if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "Ol", &mysql_stmt, mysqli_stmt_class_entry, &attr) == FAILURE) {
2296 if ((rc = mysql_stmt_attr_get(stmt->stmt, attr,
[all...]
/PHP_5_3/ext/pdo/
H A Dpdo_dbh.c39 static int pdo_dbh_attribute_set(pdo_dbh_t *dbh, long attr, zval *value TSRMLS_DC);
701 static int pdo_dbh_attribute_set(pdo_dbh_t *dbh, long attr, zval *value TSRMLS_DC) /* {{{ */ argument
711 switch (attr) {
841 if (dbh->methods->set_attribute(dbh, attr, value TSRMLS_CC)) {
846 if (attr == PDO_ATTR_AUTOCOMMIT) {
862 long attr; local
865 if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "lz", &attr, &value)) {
872 if (pdo_dbh_attribute_set(dbh, attr, value TSRMLS_CC) != FAILURE) {
884 long attr; local
886 if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &attr)) {
[all...]
H A Dpdo_stmt.c1752 long attr; local
1756 if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "lz!", &attr, &value)) {
1765 if (stmt->methods->set_attribute(stmt, attr, value TSRMLS_CC)) {
1782 static int generic_stmt_attr_get(pdo_stmt_t *stmt, zval *return_value, long attr) argument
1784 switch (attr) {
1794 long attr; local
1797 if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &attr)) {
1802 if (!generic_stmt_attr_get(stmt, return_value, attr)) {
1811 switch (stmt->methods->get_attribute(stmt, attr, return_value TSRMLS_CC)) {
1817 if (!generic_stmt_attr_get(stmt, return_value, attr)) {
[all...]
/PHP_5_3/ext/pdo_firebird/
H A Dfirebird_driver.c474 static int firebird_handle_set_attribute(pdo_dbh_t *dbh, long attr, zval *val TSRMLS_DC) /* {{{ */ argument
478 switch (attr) {
549 static int firebird_handle_get_attribute(pdo_dbh_t *dbh, long attr, zval *val TSRMLS_DC) /* {{{ */ argument
553 switch (attr) {
H A Dfirebird_statement.c635 static int firebird_stmt_set_attribute(pdo_stmt_t *stmt, long attr, zval *val TSRMLS_DC) /* {{{ */ argument
639 switch (attr) {
656 static int firebird_stmt_get_attribute(pdo_stmt_t *stmt, long attr, zval *val TSRMLS_DC) /* {{{ */ argument
660 switch (attr) {
/PHP_5_3/ext/pdo_mysql/
H A Dmysql_driver.c399 static int pdo_mysql_set_attribute(pdo_dbh_t *dbh, long attr, zval *val TSRMLS_DC) argument
403 PDO_DBG_INF_FMT("attr=%l", attr);
404 switch (attr) {
445 static int pdo_mysql_get_attribute(pdo_dbh_t *dbh, long attr, zval *return_value TSRMLS_DC) argument
451 PDO_DBG_INF_FMT("attr=%l", attr);
452 switch (attr) {
/PHP_5_3/ext/pdo_oci/
H A Doci_driver.c441 static int oci_handle_set_attribute(pdo_dbh_t *dbh, long attr, zval *val TSRMLS_DC) /* {{{ */ argument
445 if (attr == PDO_ATTR_AUTOCOMMIT) {
468 static int oci_handle_get_attribute(pdo_dbh_t *dbh, long attr, zval *return_value TSRMLS_DC) /* {{{ */ argument
472 switch (attr) {
484 if (attr == PDO_ATTR_SERVER_INFO) {
/PHP_5_3/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.c737 static int odbc_stmt_set_param(pdo_stmt_t *stmt, long attr, zval *val TSRMLS_DC) argument
742 switch (attr) {
764 static int odbc_stmt_get_attr(pdo_stmt_t *stmt, long attr, zval *val TSRMLS_DC) argument
769 switch (attr) {
829 odbc_stmt_get_attr, /* get attr */
/PHP_5_3/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_3/ext/soap/
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);
1481 xmlAttrPtr attrs, attr, ns, name, type, ref = NULL; local
1574 attr = get_attribute(attrs, "nillable");
1575 if (attr) {
1715 xmlAttrPtr attr, name, ref = NULL, type = NULL; local
2025 sdlExtraAttributePtr *attr = (sdlExtraAttributePtr*)attribute; local
2039 schema_attribute_fixup(sdlCtx *ctx, sdlAttributePtr attr) argument
2088 schema_attributegroup_fixup(sdlCtx *ctx, sdlAttributePtr attr, HashTable *ht) argument
2192 sdlAttributePtr *attr; local
2248 sdlAttributePtr *attr; local
2437 sdlExtraAttributePtr attr = *((sdlExtraAttributePtr*)attribute); local
2450 sdlExtraAttributePtr attr = *((sdlExtraAttributePtr*)attribute); local
2463 sdlAttributePtr attr = *((sdlAttributePtr*)attribute); local
2489 sdlAttributePtr attr = *((sdlAttributePtr*)attribute); local
[all...]
H A Dphp_xml.c302 xmlAttrPtr attr; local
312 attr = get_attribute_ex(node->properties, attribute, attr_ns);
313 if (attr != NULL && strcmp((char*)attr->children->content, value) == 0) {
325 xmlAttrPtr attr = get_attribute_ex(node->properties, attribute, attr_ns); local
326 if (attr != NULL && strcmp((char*)attr->children->content, value) == 0) {
/PHP_5_3/ext/sqlite/
H A Dpdo_sqlite2.c451 static int pdo_sqlite2_get_attribute(pdo_dbh_t *dbh, long attr, zval *return_value TSRMLS_DC) argument
453 switch (attr) {
466 static int pdo_sqlite2_set_attr(pdo_dbh_t *dbh, long attr, zval *val TSRMLS_DC) argument
470 switch (attr) {
/PHP_5_3/ext/standard/
H A Dlink_win32.c112 DWORD attr; local
162 if ((attr = GetFileAttributes(topath)) == INVALID_FILE_ATTRIBUTES) {
170 ret = pCreateSymbolicLinkA(source_p, topath, (attr & FILE_ATTRIBUTE_DIRECTORY ? 1 : 0));
/PHP_5_3/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) {
991 static int pdo_pgsql_set_attr(pdo_dbh_t *dbh, long attr, zval *val TSRMLS_DC) argument
995 switch (attr) {

Completed in 56 milliseconds

12