getJson() 공개 정적인 메소드

Gets Json String of Object TemplateData
public static getJson ( ) : string
리턴 string
예제 #1
0
 /**
  * Gets Json String of Object Template
  * @return string
  */
 public static function getJson()
 {
     return '{"template_id":"TestSample","name":"TestSample","default":true,"template_data":' . TemplateDataTest::getJson() . ',"settings":' . TemplateSettingsTest::getJson() . ',"unit_of_measure":"TestSample","custom":true}';
 }