public static function LingotekConfigChunk::minLid in Lingotek Translation 7.5
Same name and namespace in other branches
- 7.3 lib/Drupal/lingotek/LingotekConfigChunk.php \LingotekConfigChunk::minLid()
- 7.4 lib/Drupal/lingotek/LingotekConfigChunk.php \LingotekConfigChunk::minLid()
Return lid lower limit for the given chunk ID
Parameters
int $chunk_id:
Return value
int the lower limit for the given chunk ID
2 calls to LingotekConfigChunk::minLid()
- LingotekConfigChunk::getMinLid in lib/
Drupal/ lingotek/ LingotekConfigChunk.php - LingotekConfigChunk::getSegmentIdsById in lib/
Drupal/ lingotek/ LingotekConfigChunk.php - Return the segments by lid (from locales source) for a given chunk ID
File
- lib/
Drupal/ lingotek/ LingotekConfigChunk.php, line 372 - Defines LingotekConfigChunk.
Class
- LingotekConfigChunk
- A class wrapper for Lingotek-specific behavior on ConfigChunks.
Code
public static function minLid($chunk_id) {
return ($chunk_id - 1) * LINGOTEK_CONFIG_CHUNK_SIZE + 1;
}