A super easy PHP Framework for web development!
https://github.com/exacti/phacil-framework
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
710 B
32 lines
710 B
10 months ago
|
<?php
|
||
|
/**
|
||
|
* Copyright © 2024 ExacTI Technology Solutions. All rights reserved.
|
||
|
* GPLv3 General License.
|
||
|
* https://exacti.com.br
|
||
|
* Phacil PHP Framework - https://github.com/exacti/phacil-framework
|
||
|
*/
|
||
|
|
||
|
namespace Phacil\Framework\MagiQL\Builder\Syntax\Adapt\MSSQL;
|
||
|
|
||
|
use Phacil\Framework\MagiQL\Builder\MySqlBuilder as GenericBuilder;
|
||
|
use Phacil\Framework\MagiQL\Syntax\Column;
|
||
|
use Phacil\Framework\MagiQL\Syntax\Table;
|
||
|
|
||
|
class ColumnTable extends GenericBuilder
|
||
|
{
|
||
|
/**
|
||
|
* @param $string
|
||
|
* @param string $char
|
||
|
*
|
||
|
* @return string
|
||
|
*/
|
||
|
protected function wrapper($string, $char = '[', $charend = ']')
|
||
|
{
|
||
|
if (0 === strlen($string)) {
|
||
|
return '';
|
||
|
}
|
||
|
|
||
|
return $char . $string . $charend;
|
||
|
}
|
||
|
}
|