propelorm/Propel2

src/Propel/Generator/Behavior/AggregateColumn/templates/queryUpdateRelated.php
A

No issues here. Congrats!


protected function updateRelated<?=$relationName.$aggregateName?>s($con)
{
    foreach ($this-><?=$variableName?>s as $<?=$variableName?>) {
        $<?=$variableName?>-><?= $updateMethodName ?>($con);
    }
    $this-><?=$variableName?>s = array();
}

Size

Lines of code
7