| site() | ใช้คืนค่า site_protocol, site_domain, index_page และ url_suffix |
|---|
method:site ();
return type:string
special:static
content:ใช้คืนค่า site_protocol, site_domain, index_page และ url_suffix
example:echo url::site ();
comment:site_protocol คือ protocol ของ url site_domain คือ domain ของ url index_page เช่น index.php url_suffix เช่น php โดยค่าต่างๆเหล่านี้จะถูกกำหนดไว้ใน "application/config/config.php"