JTableContenthistory::getSha1
Utility method to get the hash after removing selected values. This lets us detect changes other than modified date (which will change on every save).
Signature
public function getSha1(mixed
$jsonData,
JTableContenttype
$typeTable )
Parameters
-
$jsonData
- Either an object or a string with json-encoded data
-
$typeTable
- Table object with data for this content type
Returns
- string
- SHA1 hash on sucess. Empty string on failure.