我想知道如何在數組對象篩選值的對象值...過濾器在陣列
我只是顯示下面是我的對象數組的一個數據
Object ([_fields:private] => Array ([a] => c7b920f57e553df2bb68272f61570210 [index_date] => 2010/05/11 12:00:58 [b] => i am zahir [c] => google.com [d] => 23c4a1f90fb577a006bdef4c718f5cc2))
Object ([_fields:private] => Array ([a] => c7b920f57e553df2bb68272f61570210 [index_date] => 2010/05/11 12:00:58 [b] => i am zahir [c] => yahoo.com [d] => 23c4a1f90fb577a006bdef4c718f5cc2))
Object ([_fields:private] => Array ([a] => c7b920f57e553df2bb68272f61570210 [index_date] => 2010/05/11 12:00:58 [b] => i am beni [c] => google.com [d] => 23c4a1f90fb577a006bdef4c718f5cc2))
.
.
.
Object ([_fields:private] => Array ([a] => c7b920f57e553df2bb68272f61570210 [index_date] => 2010/05/11 12:00:58 [b] => i am sani [c] => yahoo.com [d] => 23c4a1f90fb577a006bdef4c718f5cc2))
我有過濾[C]價值... ...
'C'是對象的私有字段。您只能通過對象方法訪問它。 – 2010-05-15 12:44:17
是的,我們可以通過對象方法來訪問這個值。 – 2010-05-15 12:48:47