eZ\Publish\Core\Persistence\Legacy\Content\UrlAlias\Gateway::updateRow PHP Method

updateRow() abstract public method

Use optional parameter $languageMaskMatch to additionally limit the query match with languages.
abstract public updateRow ( mixed $parentId, string $textMD5, array $values )
$parentId mixed
$textMD5 string
$values array associative array with column names as keys and column values as values
    public abstract function updateRow($parentId, $textMD5, array $values);

Usage Example

 /**
  * Updates single row data matched by composite primary key.
  *
  * Use optional parameter $languageMaskMatch to additionally limit the query match with languages
  *
  * @param mixed $parentId
  * @param string $textMD5
  * @param array $values associative array with column names as keys and column values as values
  */
 public function updateRow($parentId, $textMD5, array $values)
 {
     try {
         $this->innerGateway->updateRow($parentId, $textMD5, $values);
     } catch (DBALException $e) {
         throw new \RuntimeException('Database error', 0, $e);
     } catch (PDOException $e) {
         throw new \RuntimeException('Database error', 0, $e);
     }
 }
All Usage Examples Of eZ\Publish\Core\Persistence\Legacy\Content\UrlAlias\Gateway::updateRow