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

Pass DB Connection parameters to a Kettle a.k.a PDI table Input step dynamically from Excel -

multithreading - PhantomJS-Node in a for Loop -

c++ - MATLAB .m file to .mex file using Matlab Compiler -