$_tablename
$_tablename
GetValue( $Code, $IdLanguage)
This function is the core one it tries to find in memchache the given value for $Code in $IdLanguage if it fails, it then tries to query it from the database if it success, if the value is marked as expired, it update it from the database, mark it as uptodate and returns the value to caller if the value is not marked as expired it returns to caller (this is expected to be the most common case !) it stored it in memcache and returns the value to caller if it fails it store in memcache infor
$Code | ||
$IdLanguage |