I dont know propel. I need to convert this propel code. In this code the strings $array[$i]
will concordinate with $array[0]
or the last string of $array[$i]
only stored in this $array[0]
.
$array[0]->addAnd($array[$i]);
I dont know propel. I need to convert this propel code. In this code the strings $array[$i]
will concordinate with $array[0]
or the last string of $array[$i]
only stored in this $array[0]
.
$array[0]->addAnd($array[$i]);
The addAnd(...)
method adds another condition (a Propel Criterion
object) to the WHERE
clause in the resulting SQL query - in your case, that query is represented by $array[0]
. Since we don't know what $array[$i]
is (although it is most likely a Propel Criterion
) we can't really say what the result will be, but it will append AND {string representation of $array[$i]}
to the existing SQL. You can check the Propel API docs for info on the addAnd(...)
method.