public function forUpdate($flag = true)
    {
        $this->_parts[self::FOR_UPDATE] = (bool) $flag;
        return $this;
    }
public function forUpdate($flag = true)
    {
        $this->_parts[self::FOR_UPDATE] = (bool) $flag;
        return $this;
    }
public function forUpdate ( $ flag = true ) { $ this -> _parts [ self :: FOR_UPDATE ] = ( bool ) $ flag ; return $ this ; }
Makes the query SELECT FOR UPDATE.

@param bool $flag Whether or not the SELECT is FOR UPDATE (default true).
@return Zend_Db_Select This Zend_Db_Select object.
Makes the query SELECT FOR UPDATE .