public function getSchemeById($id, $colorsOnly = false)
    {
        $id     = (int) $id;
        $select = $this->tableGateway->getSql()->select();

        if($colorsOnly) {
            $select->columns(array(
                'pscheme_id', 'pscheme_name', 'pscheme_colors', 'pscheme_is_active'
            ));
        }


        $select->where->equalTo('pscheme_id', $id);

        $resultSet = $this->tableGateway->selectWith($select);

        return $resultSet;
    }