function testMakeNames() { $this->assertEquals('getHelloThere', \SQRT\DB\Item::MakeGetterName('hello_there'), 'Геттер'); $this->assertEquals('setHelloThere', \SQRT\DB\Item::MakeSetterName('hello_there'), 'Сеттер'); }
protected function makeItemGetter($col) { return " public function " . Item::MakeGetterName($col) . "(\$default = null)\n" . " {\n" . " return \$this->get('{$col}', \$default);\n" . " }"; }