php - How to get the form elements in zend which contains the objct inside -


ऑब्जेक्ट जिसमें zend में फ़ॉर्म डेटा प्राप्त करते हैं।

अगर मैं $ Form- & gt; getElements () मुझे निम्न आउटपुट मिलता है:

  array (38) {["0_0_1"] = & gt; ऑब्जेक्ट (फील्ड्स_फॉर्म_एलेमेंट_ProfileType) # 1153 (36) {["सहायक"] = & gt; स्ट्रिंग (10) "फ़ॉर्म चयन"}}   

अब मैं ["सहायक"] मूल्य कैसे प्राप्त कर सकता हूं?

धन्यवाद अग्रिम।

आप यह कोशिश कर सकते हैं:

  foreach ($ form - & gt; getElements () $ तत्व के रूप में) {var_dump ($ element- & gt; सहायक); }    

Comments

Popular posts from this blog

python - Writing Greek in matplotlib labels, titles -

c# - LINQ to Entities does not recognize the method 'Int32 IndexOf(System.String, System.StringComparison)' method -

c# - Call function from DLL -