Overview

Namespaces

  • Kotchasan
    • Cache
    • Database
    • Http
    • Log
    • Orm
  • None
  • PHP
  • Psr
    • Cache
    • Http
      • Message
    • Log

Classes

  • Kotchasan
  • PHPMailer
  • SMTP

Exceptions

  • phpmailerException

Functions

  • createClass
  • debug
  • getClassPath
  • Overview
  • Namespace
  • Class
  • Tree

Class Kotchasan

Kotchasan PHP Framework.

Kotchasan\KBase
Extended by Kotchasan
Copyright: 2016 Goragod.com
License: http://www.kotchasan.com/license/
Author: Goragod Wiriya admin@goragod.com
Since: 1.0
Located at Kotchasan/Kotchasan.php
Methods summary
public static static
# createWebApplication( Kotchasan\Config|string|null $cfg = null )

สร้าง Application สามารถเรียกใช้ได้ครั้งเดียวเท่านั้น.

สร้าง Application สามารถเรียกใช้ได้ครั้งเดียวเท่านั้น.

Parameters

$cfg
ถ้าไม่กำหนดมาจะใช้ค่าเริ่มต้นของคชสาร

Returns

static
public
# run( )

แสดงผลหน้าเว็บไซต์.

แสดงผลหน้าเว็บไซต์.

Properties summary
public string $char_set

default charset (แนะนำ utf-8).

default charset (แนะนำ utf-8).

# 'utf-8'
public string $defaultController

Controller หลัก

Controller หลัก

# 'Index\Index\Controller'
public string $defaultRouter

Router หลัก

Router หลัก

# 'Kotchasan\Router'
Properties inherited from Kotchasan\KBase
$cfg, $request
Kotchasan API documentation generated by ApiGen