Re: How to calculate in array from $this-model-updateAll()?
'CmsPage.rgt' = *'CmsPage.rgt + 2'* On Thursday, July 17, 2014 11:15:48 PM UTC+2, Sam Clauw wrote: I try to do an update all in my add action with the following method: $this-CmsPage-updateAll( array( 'CmsPage.rgt' = *('CmsPage.rgt' + 2)* ), array(
How to calculate in array from $this-model-updateAll()?
I try to do an update all in my add action with the following method: $this-CmsPage-updateAll( array( 'CmsPage.rgt' = *('CmsPage.rgt' + 2)* ), array( 'CmsPage.rgt ' = $right ) ); Unfortunately, i'ts not working. It keeps sending the value 2 to the rgt