protected function loadIdentsRight($mident, array $params, MappingSource $cfgLeft, $lident) { switch ($mident) { case 'RECOMMENDED_POSTS': if ($cfgLeft instanceof MapSrcFoldingDb) { /* @var $folding FoldedResources */ $folding = $cfgLeft->getFolding(); return array_diff($this->posts, array($folding->getUnique($lident))); } break; } return $this->posts; }
/** * Возвращает список идентификаторов справа для сущности слева */ public function getIdentsRight($lident) { return $this->RSRC->getIdentsRight($this->LSRC, $lident); }