protected function LingotekConfigChunk::getMinLid in Lingotek Translation 7.5
Same name and namespace in other branches
- 7.3 lib/Drupal/lingotek/LingotekConfigChunk.php \LingotekConfigChunk::getMinLid()
- 7.4 lib/Drupal/lingotek/LingotekConfigChunk.php \LingotekConfigChunk::getMinLid()
1 call to LingotekConfigChunk::getMinLid()
- LingotekConfigChunk::__construct in lib/
Drupal/ lingotek/ LingotekConfigChunk.php - Constructor.
File
- lib/
Drupal/ lingotek/ LingotekConfigChunk.php, line 388 - Defines LingotekConfigChunk.
Class
- LingotekConfigChunk
- A class wrapper for Lingotek-specific behavior on ConfigChunks.
Code
protected function getMinLid() {
if ($this->chunk_id) {
return self::minLid($this->chunk_id);
}
return intval(key($this->source_data) / $this->chunk_size) * $this->chunk_size + 1;
}