Ip\Internal\Grid\Model\Table::subgrid PHP Method

subgrid() protected method

protected subgrid ( $params )
    protected function subgrid($params)
    {
        if (empty($params['gridId'])) {
            throw new \Ip\Exception('girdId GET variable missing');
        }
        if (empty($params['gridParentId'])) {
            throw new \Ip\Exception('girdParentId GET variable missing');
        }
        $newStatusVariables = Status::genSubgridVariables($this->statusVariables, $params['gridId'], $params['gridParentId']);
        $commands[] = Commands::setHash(Status::build($newStatusVariables));
        return $commands;
    }