getDivisionTableName() public method

get division table name
public getDivisionTableName ( ConfigEntity $config ) : string
$config Xpressengine\Config\ConfigEntity config entity
return string
Exemplo n.º 1
0
 /**
  * set model's config
  *
  * @param Board        $board  board model
  * @param ConfigEntity $config board config entity
  * @return Board
  */
 public function setModelConfig(Board $board, ConfigEntity $config)
 {
     $instanceId = $config->get('boardId');
     $documentConfig = $this->documentHandler->getConfig($instanceId);
     $board->setConfig($documentConfig, $this->documentHandler->getDivisionTableName($documentConfig));
     return $board;
 }