Cml\Http\Request::isPost PHP 메소드

isPost() 공개 정적인 메소드

判断是否为POST请求
public static isPost ( ) : boolean
리턴 boolean
    public static function isPost()
    {
        return strtolower(self::getService('REQUEST_METHOD')) == 'post' ? true : false;
    }