国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 編程 > ASP > 正文

ASP 高級模板引擎實現類

2024-05-04 11:00:14
字體:
來源:轉載
供稿:網友
復制代碼 代碼如下:
Class template

    Private c_Char, c_Path, c_FileName, c_Content, c_PageUrl, c_CurrentPage, c_PageStr, ReplacePageStr
    Private TagName

    ' ***************************************
    '    設置編碼
    ' ***************************************
    Public Property Let Char(ByVal Str)
        c_Char = Str
    End Property
    Public Property Get Char
        Char = c_Char
    End Property

    ' ***************************************
    '    設置模板文件夾路徑
    ' ***************************************
    Public Property Let Path(ByVal Str)
        c_Path = Str
    End Property
    Public Property Get Path
        Path = c_Path
    End Property

    ' ***************************************
    '    設置模板文件名
    ' ***************************************
    Public Property Let FileName(ByVal Str)
        c_FileName = Str
    End Property
    Public Property Get FileName
        FileName = c_FileName
    End Property

    ' ***************************************
    '    獲得模板文件具體路徑
    ' ***************************************
    Public Property Get FilePath
        If Len(Path) > 0 Then Path = Replace(Path, "/", "/")
        If Right(Path, 1) <> "/" Then Path = Path & "/"
        FilePath = Path & FileName
    End Property

    ' ***************************************
    '    設置分頁URL
    ' ***************************************
    Public Property Let PageUrl(ByVal Str)
        c_PageUrl = Str
    End Property
    Public Property Get PageUrl
        PageUrl = c_PageUrl
    End Property

    ' ***************************************
發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 岐山县| 洱源县| 越西县| 三明市| 石嘴山市| 漾濞| 贺兰县| 信丰县| 安康市| 手游| 遂川县| 富民县| 平陆县| 新昌县| 北宁市| 宝清县| 邹平县| 奈曼旗| 佳木斯市| 武平县| 宜良县| 大城县| 垫江县| 浙江省| 玛沁县| 沅江市| 临漳县| 东至县| 仁寿县| 高青县| 神木县| 康平县| 日照市| 安徽省| 延安市| 分宜县| 托克逊县| 托里县| 呼和浩特市| 安达市| 金沙县|