setUnaccentInit(LuStringUtils::convertJsonString($dam->unaccent_init)); return $dbo; } /** * @param $ internal * @return \App\Http\DataAccess\SP\UnaccentInit; */ public static function execute($) { $values = DB::select('SELECT to_json(data.unaccent_init) AS unaccent_init FROM unaccent_init(:) data', array(":" => $)); return self::damToDbo($values[0]); } public function jsonSerialize() { return array( "UnaccentInit" => $this->_unaccentInit ); } public static function jsonDeserialize($json) { $dbo = new UnaccentInit(); if (isset($json["UnaccentInit"])) { $dbo->setUnaccentInit($json["UnaccentInit"]); } return $dbo; } public static function generateSample() { $dbo = new UnaccentInit(); $dbo->setUnaccentInit("sample string"); return $dbo; } /** * @var internal */ protected $_unaccentInit; public function getUnaccentInit() { return $this->_unaccentInit; } public function setUnaccentInit($value) { $this->_unaccentInit = $value; } }