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

12

/PHP_TRUNK/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_TRUNK/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_TRUNK/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_TRUNK/ext/soap/
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) {
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.c988 xmlAttrPtr attr = get_attribute(node->properties, "minOccurs"); local
990 if (attr) {
991 model->min_occurs = atoi((char*)attr->children->content);
996 attr = get_attribute(node->properties, "maxOccurs");
997 if (attr) {
998 if (!strncmp((char*)attr->children->content, "unbounded", sizeof("unbounded"))) {
1001 model->max_occurs = atoi((char*)attr->children->content);
1493 xmlAttrPtr attrs, attr, ns, name, type, ref = NULL; local
1594 attr = get_attribute(attrs, "nillable");
1595 if (attr) {
1735 xmlAttrPtr attr, name, ref = NULL, type = NULL; local
2088 schema_attribute_fixup(sdlCtx *ctx, sdlAttributePtr attr) argument
2136 schema_attributegroup_fixup(sdlCtx *ctx, sdlAttributePtr attr, HashTable *ht) argument
2234 sdlAttributePtr attr; local
2287 sdlAttributePtr attr; local
2472 sdlExtraAttributePtr attr = Z_PTR_P(zv); local
2485 sdlExtraAttributePtr attr = Z_PTR_P(zv); local
2498 sdlAttributePtr attr = Z_PTR_P(zv); local
2524 sdlAttributePtr attr = Z_PTR_P(zv); local
[all...]
/PHP_TRUNK/ext/dom/
H A Dphp_dom.c1379 xmlAttrPtr attr; local
1403 attr = child->properties;
1404 while (attr != NULL) {
1405 dom_normalize((xmlNodePtr) attr TSRMLS_CC);
1406 attr = attr->next;
H A Delement.c111 ZEND_ARG_OBJ_INFO(0, attr, DOMAttr, 0)
333 xmlNodePtr attr; local
342 attr = dom_get_dom1_attribute(nodep, (xmlChar *)name);
343 if (attr) {
344 switch (attr->type) {
346 value = xmlNodeListGetString(attr->doc, attr->children, 1);
349 value = xmlStrdup(((xmlNsPtr)attr)->href);
352 value = xmlStrdup(((xmlAttributePtr)attr)->defaultValue);
373 xmlNodePtr attr local
745 xmlAttr *attr; local
1064 xmlNodePtr attr; local
[all...]
/PHP_TRUNK/ext/pdo_firebird/
H A Dfirebird_driver.c473 static int firebird_handle_set_attribute(pdo_dbh_t *dbh, zend_long attr, zval *val TSRMLS_DC) /* {{{ */ argument
477 switch (attr) {
548 static int firebird_handle_get_attribute(pdo_dbh_t *dbh, zend_long attr, zval *val TSRMLS_DC) /* {{{ */ argument
552 switch (attr) {
H A Dfirebird_statement.c657 static int firebird_stmt_set_attribute(pdo_stmt_t *stmt, zend_long attr, zval *val TSRMLS_DC) /* {{{ */ argument
661 switch (attr) {
678 static int firebird_stmt_get_attribute(pdo_stmt_t *stmt, zend_long attr, zval *val TSRMLS_DC) /* {{{ */ argument
682 switch (attr) {
/PHP_TRUNK/ext/pdo_odbc/
H A Dodbc_driver.c339 static int odbc_handle_set_attr(pdo_dbh_t *dbh, zend_long attr, zval *val TSRMLS_DC) argument
342 switch (attr) {
354 static int odbc_handle_get_attr(pdo_dbh_t *dbh, zend_long attr, zval *val TSRMLS_DC) argument
357 switch (attr) {
387 odbc_handle_get_attr, /* get attr */
H A Dodbc_stmt.c758 static int odbc_stmt_set_param(pdo_stmt_t *stmt, zend_long attr, zval *val TSRMLS_DC) argument
763 switch (attr) {
785 static int odbc_stmt_get_attr(pdo_stmt_t *stmt, zend_long attr, zval *val TSRMLS_DC) argument
790 switch (attr) {
850 odbc_stmt_get_attr, /* get attr */
/PHP_TRUNK/ext/pdo/
H A Dpdo_stmt.c1706 zend_long attr; local
1710 if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "lz!", &attr, &value)) {
1719 if (stmt->methods->set_attribute(stmt, attr, value TSRMLS_CC)) {
1736 static int generic_stmt_attr_get(pdo_stmt_t *stmt, zval *return_value, zend_long attr) argument
1738 switch (attr) {
1748 zend_long attr; local
1751 if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &attr)) {
1756 if (!generic_stmt_attr_get(stmt, return_value, attr)) {
1765 switch (stmt->methods->get_attribute(stmt, attr, return_value TSRMLS_CC)) {
1771 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, zend_long attr, zval *value TSRMLS_DC);
678 static int pdo_dbh_attribute_set(pdo_dbh_t *dbh, zend_long attr, zval *value TSRMLS_DC) /* {{{ */ argument
688 switch (attr) {
817 if (dbh->methods->set_attribute(dbh, attr, value TSRMLS_CC)) {
822 if (attr == PDO_ATTR_AUTOCOMMIT) {
838 zend_long attr; local
841 if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "lz", &attr, &value)) {
848 if (pdo_dbh_attribute_set(dbh, attr, value TSRMLS_CC) != FAILURE) {
860 zend_long attr; local
862 if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &attr)) {
[all...]
/PHP_TRUNK/ext/pdo_mysql/
H A Dmysql_driver.c371 static int pdo_mysql_set_attribute(pdo_dbh_t *dbh, zend_long attr, zval *val TSRMLS_DC) argument
375 PDO_DBG_INF_FMT("attr=%l", attr);
376 switch (attr) {
422 static int pdo_mysql_get_attribute(pdo_dbh_t *dbh, zend_long attr, zval *return_value TSRMLS_DC) argument
428 PDO_DBG_INF_FMT("attr=%l", attr);
429 switch (attr) {
/PHP_TRUNK/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_TRUNK/ext/com_dotnet/
H A Dcom_typeinfo.c333 TYPEATTR *attr; local
336 ITypeInfo_GetTypeAttr(coinfo, &attr);
338 for (i = 0; i < attr->cImplTypes; i++) {
358 ITypeInfo_ReleaseTypeAttr(coinfo, attr);
435 TYPEATTR *attr; local
443 if (FAILED(ITypeInfo_GetTypeAttr(typeinfo, &attr))) {
448 if (id_to_name == NULL || attr->typekind == TKIND_DISPATCH) {
451 memcpy(guid, &attr->guid, sizeof(GUID));
461 guidstring = php_com_string_from_clsid(&attr->guid, codepage TSRMLS_CC);
473 for (i = 0; i < attr
[all...]
/PHP_TRUNK/ext/pdo_pgsql/
H A Dpgsql_driver.c380 static int pdo_pgsql_get_attribute(pdo_dbh_t *dbh, zend_long attr, zval *return_value TSRMLS_DC) argument
384 switch (attr) {
1114 static int pdo_pgsql_set_attr(pdo_dbh_t *dbh, zend_long attr, zval *val TSRMLS_DC) argument
1118 switch (attr) {
/PHP_TRUNK/ext/pdo_sqlite/
H A Dsqlite_driver.c283 static int pdo_sqlite_get_attribute(pdo_dbh_t *dbh, zend_long attr, zval *return_value TSRMLS_DC) argument
285 switch (attr) {
298 static int pdo_sqlite_set_attr(pdo_dbh_t *dbh, zend_long attr, zval *val TSRMLS_DC) argument
302 switch (attr) {
/PHP_TRUNK/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_TRUNK/ext/mysqli/
H A Dmysqli_api.c2313 /* {{{ proto int mysqli_stmt_attr_set(object stmt, long attr, long mode)
2324 zend_long attr; local
2327 if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "Oll", &mysql_stmt, mysqli_stmt_class_entry, &attr, &mode_in) == FAILURE) {
2337 switch (attr) {
2350 if (mysql_stmt_attr_set(stmt->stmt, attr, mode_p)) {
2352 if (FAIL == mysql_stmt_attr_set(stmt->stmt, attr, mode_p)) {
2360 /* {{{ proto int mysqli_stmt_attr_get(object stmt, long attr)
2367 zend_long attr; local
2370 if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "Ol", &mysql_stmt, mysqli_stmt_class_entry, &attr) == FAILURE) {
2375 if ((rc = mysql_stmt_attr_get(stmt->stmt, attr,
[all...]
/PHP_TRUNK/Zend/
H A Dzend_ast.h154 zend_ast_attr attr; /* Additional attribute, use depending on node type */ member in struct:_zend_ast
162 zend_ast_attr attr; member in struct:_zend_ast_list
171 zend_ast_attr attr; member in struct:_zend_ast_zval
178 zend_ast_attr attr; /* Unused - for structure compatibility */ member in struct:_zend_ast_decl
188 ZEND_API zend_ast *zend_ast_create_zval_ex(zval *zv, zend_ast_attr attr);
190 ZEND_API zend_ast *zend_ast_create_ex(zend_ast_kind kind, zend_ast_attr attr, ...);
H A Dzend_ast.c50 ast->attr = 0;
56 ZEND_API zend_ast *zend_ast_create_zval_ex(zval *zv, zend_ast_attr attr) { argument
62 ast->attr = attr;
77 ast->attr = 0;
91 static zend_ast *zend_ast_create_from_va_list(zend_ast_kind kind, zend_ast_attr attr, va_list va) { argument
98 ast->attr = attr;
118 ZEND_API zend_ast *zend_ast_create_ex(zend_ast_kind kind, zend_ast_attr attr, ...) { argument
122 va_start(va, attr);
[all...]

Completed in 37 milliseconds

12