original_string: protected function _toggleField(array $ids, $value = STATUS_UN_PUBLISH)
      {
          return $this->_table->updateAll([
              $this->_configRead('field') => $value,
          ], [
              $this->_table->getPrimaryKey() . ' IN (' . implode(',', $ids) . ')'
          ]);
      }
code: protected function _toggleField(array $ids, $value = STATUS_UN_PUBLISH)
      {
          return $this->_table->updateAll([
              $this->_configRead('field') => $value,
          ], [
              $this->_table->getPrimaryKey() . ' IN (' . implode(',', $ids) . ')'
          ]);
      }
code_tokens: protected function _toggleField ( array $ ids , $ value = STATUS_UN_PUBLISH ) { return $ this -> _table -> updateAll ( [ $ this -> _configRead ( 'field' ) => $ value , ] , [ $ this -> _table -> getPrimaryKey ( ) . ' IN (' . implode ( ',' , $ ids ) . ')' ] ) ; }
docstring: Toggle table field.
  
  @param array $ids
  @param int $value
  @return int
docstring_tokens: Toggle table field .