, A php Data object in the system. after var_dump, the attribute name is actually a string-type number 0 ()

Source: Internet
Author: User
For help, a php Data object in the system. after var_dump, the attribute name is actually a string-type number 0 (online, etc.). how can I obtain the attribute of this data object? The system's source code cannot be found. The retrieved data is an object. this object also contains the detailed object example object A-& gt; attribute a, attribute B, property c details property m-& gt; detail object 1. detail object 2 .. this detailed attribute name is m for help. The system's php Data object, after var_dump, the attribute name is actually a string type number 0 (online, etc)
Help me to see how to obtain the attributes of this data object?
The system's source code cannot be found. The retrieved data is an object.
This object also contains detailed objects.
Example
Object A-> attribute a, attribute B, and attribute c
Details properties m-> details object 1, details object 2 ..
This detail property name m is ["0"]. how can this be obtained? If you try it again, the method cannot be obtained.
Attribute name is a string type 0
The specific var_dump is output. The Red Letter and the following are detailed objects.
Object (TDataObject) #2176 (56 ){
["Yjcgcgl"] =>
Float (0.45)
["Xmje"] =>
Float (0)
["Xmjd"] =>
String (12) "Phase 1"
["Xmdd"] =>
String (12) "Shandong Dongying"
["XjpcID"] =>
Float (12)
["Xjpc3ID"] =>
Float (0)
["Xjpc3"] =>
Object (TDataObject) #1872 (1 ){
["Name"] =>
String (0 )""
}
["Xjpc2ID"] =>
Float (0)
["Xjpc2"] =>
Object (TDataObject) #1489 (1 ){
["Name"] =>
String (0 )""
}
["Xjpc"] =>
Object (TDataObject) #1500 (1 ){
["Name"] =>
String (21) "Hebei Electric Power Company"
}
["Stbh"] =>
String (15) "100000000000000"
["SjystID"] =>
Float (0)
["Sjyst"] =>
Object (TDataObject) #1392 (1 ){
["Name"] =>
String (0 )""
}
["SjyID"] =>
Float (24)
["Sjy"] =>
Object (TDataObject) #1484 (1 ){
["Name"] =>
String (33) "Hangzhou Electric Power Design Institute Co., Ltd"
}
["Bjcl"] =>
String (12) "guaranteed price policy"
["TypeID"] =>
Float (2024)
["Type"] =>
Object (TDataObject) #1234 (1 ){
["Name"] =>
String (21) "Project report Application Form"
}
["SubmitUserID"] =>
Float (1)
["SubmitUser"] =>
Object (TDataObject) #1413 (1 ){
["Name"] =>
String (13) "administrator"
}
["SubmitTime"] =>
String (19) "09:48:37"
["StartDate"] =>
String (10) "2012-05-22"
["Stage"] =>
Float (0)
["Privilege2"] =>
String (0 )""
["Privilege1"] =>
String (0 )""
["Privilege"] =>
String (0 )""
["OwnerID"] =>
Float (1)
["Owner"] =>
Object (TDataObject) #1411 (1 ){
["Name"] =>
String (13) "administrator"
}
["Name"] =>
String (9) "Project 123"
["ModifiedTime"] =>
String (19) "09:48:28"
["ModifiedByID"] =>
Float (1)
["ModifiedBy"] =>
Object (TDataObject) #1417 (1 ){
["Name"] =>
String (13) "administrator"
}
["IsClosed"] =>
Float (0)
["IdentifyCode"] =>
String (0 )""
["ID"] =>
Float (26)
["Expense"] =>
Float (0)
["EndDate"] =>
String (0 )""
["Description"] =>
String (9) "remarks"
["Dimension mentid"] =>

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.