api:get_manual(app_id: 0
, developer_id: 0)

10 ** 2 * 2

$manual = api:get_manual()

$manual['string:to_lower_case']
#=> [
#=>     "purpose" => "Lowercase string\n",
#=>     "tags" => "strtolower, tolower, lower, downcase\n",
#=>     "access" => "private\n",
#=>     "sunsed?" => FALSE,
#=>     "stable?" => FALSE,
#=>     "examples" => "\n\nstring:to_lower_case('HI')      \n#=> \"hi\"\n\nstring:to_lower_case('')      \n#=> \"\"\n\nstring:to_lower_case('FòôBàř')  \n#=> \"fòôbàř\"\n",
#=>     "snippet" => "(\${1:STRING \\\$string})",
#=>     "type" => "function",
#=>     "signature" => [
#=>         "parameters" => [
#=>             [
#=>                 "name" => "string",
#=>                 "is_optional?" => FALSE,
#=>                 "has_type?" => TRUE,
#=>                 "type" => "STRING",
#=>                 "has_default_value?" => FALSE
#=>             ]
#=>         ],
#=>         "parameter_names" => [
#=>             "string"
#=>         ],
#=>         "file_name" => "/usr/local/openresty/sunsed/SunSed/_/string.php",
#=>         "line_number" => 1643,
#=>         "has_return_type?" => TRUE,
#=>         "return_type" => "STRING"
#=>     ],
#=>     "synopsis" => "string:to_lower_case( STRING \$string) : STRING"
#=> ]

documentation:documents['test']
#=> ERROR: uncaught_error_on_execute -- Undefined index: test d4940f4be9196a6fe315deec9d904e1afdb3e740fcc92eb57633fb86425ea3dab1aa3db5339a7bc932f43629a69356836f4211bb9142eca5842d7e60826d3d02 7

$manual['request:client']
#=> ""

$manual['response:status']
#=> [
#=>     "purpose" => "HTTP response status code\n",
#=>     "tags" => "\n",
#=>     "access" => "private\n",
#=>     "sunsed?" => FALSE,
#=>     "stable?" => FALSE,
#=>     "examples" => "\n\nresponse:status\n#=> 200\n",
#=>     "snippet" => "",
#=>     "type" => "variable"
#=> ]

$manual['string:to_lower_case']
#=> [
#=>     "purpose" => "Lowercase string\n",
#=>     "tags" => "strtolower, tolower, lower, downcase\n",
#=>     "access" => "private\n",
#=>     "sunsed?" => FALSE,
#=>     "stable?" => FALSE,
#=>     "examples" => "\n\nstring:to_lower_case('HI')      \n#=> \"hi\"\n\nstring:to_lower_case('')      \n#=> \"\"\n\nstring:to_lower_case('FòôBàř')  \n#=> \"fòôbàř\"\n",
#=>     "snippet" => "(\${1: STRING \\\$string})",
#=>     "type" => "function",
#=>     "signature" => [
#=>         "parameters" => [
#=>             [
#=>                 "name" => "string",
#=>                 "is_optional?" => FALSE,
#=>                 "has_type?" => TRUE,
#=>                 "type" => "STRING",
#=>                 "has_default_value?" => FALSE
#=>             ]
#=>         ],
#=>         "parameter_names" => [
#=>             "string"
#=>         ],
#=>         "file_name" => "/var/lib/nginx/sunsed/sunsed-v4/_/string.php",
#=>         "line_number" => 1576,
#=>         "has_return_type?" => TRUE,
#=>         "return_type" => "STRING"
#=>     ],
#=>     "synopsis" => "string:to_lower_case( STRING \$string) : STRING"
#=> ]

Copyright ©2013-2022 SunSed®. All rights reserved.