Re: How to calculate in array from $this-model-updateAll()?

2014-07-18 Thread José Lorenzo
'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()?

2014-07-17 Thread Sam Clauw
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