static public function getCookie($name= null)
    {
        if ($name) $name = static::$COOKIE_PREFIX . $name;
        return empty($name) ? $_COOKIE : (isset($_COOKIE[$name]) ? $_COOKIE[$name] : '');
    }
static public function getCookie($name= null)
    {
        if ($name) $name = static::$COOKIE_PREFIX . $name;
        return empty($name) ? $_COOKIE : (isset($_COOKIE[$name]) ? $_COOKIE[$name] : '');
    }
static public function getCookie ( $ name = null ) { if ( $ name ) $ name = static :: $ COOKIE_PREFIX . $ name ; return empty ( $ name ) ? $ _COOKIE : ( isset ( $ _COOKIE [ $ name ] ) ? $ _COOKIE [ $ name ] : '' ) ; }
get cookie, need think cross domain.
@param  string $name
@return mixed
get cookie need think cross domain .