function getLangAssocs() { if ($this->_translations !== null) { return $this->_translations; } $this->_translations = array(); // Make sure we item list is populased and non-empty if (empty($this->_data)) { return $this->_translations; } // Get associated translations $ids = array(); foreach ($this->_data as $_item_data) { $ids[] = $_item_data->id; } $this->_translations = flexicontent_db::getLangAssocs($ids); return $this->_translations; }