I need to write below PHP code in stored procedure
$arrintArTriggerIds = array();
if( CApplicationStage::PRE_QUALIFICATION == $this->getAdo()->m_objApplication->getApplicationStageId() && CApplicationStatus::APPROVED == $this->getAdo()->m_objApplication->getApplicationStatusId() ) {
$arrintArTriggerIds = array( CArTrigger::PRE_QUALIFICATION );
}
And I need to pass this $arrintArTriggerIds
array to select query with where conditions.
This array may contain values like ar_trigger_id IN (102, 103)
etc.
Please help me with this. Thanks in advance!