php - yii set criteria params names manual -


जब मैं मापदंड निर्धारित करता हूँ:

  $ मानदंड-> addInCondition ('t.type ', array_values ​​($ पैरामीटर [': प्रकार ']));   

मुझे मिल रहा है:

  और (t.type IN (: ycp4,: ycp5,: ycp6))   < P> मैं चाहता हूं कि  
  और (टी प्रकार टाइप करें (: टाइप 1,: टाइप 2,: टाइप 3))   

पैरामीटर जेनरेट करने के लिए स्वचालित रूप से नहीं, लेकिन

  $ params = array ('') का उपयोग करें   



Comments

Popular posts from this blog

Out of index C/C++ -

algorithm - Graph cut with python: How to set up the graph correctly? -

objective c - how Set autolayout for multiple dynamic buttons and labells in iOS? -