Consolidated ASP Classic MVC framework from best components
25개 이상의 토픽을 선택하실 수 없습니다.
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- <%
- Class HomeController_Class
- Private m_useLayout
- Private m_title
-
- Private Sub Class_Initialize()
- m_useLayout = True
- m_title = "Home"
- End Sub
-
- Public Property Get useLayout
- useLayout = m_useLayout
- End Property
-
- Public Property Let useLayout(v)
- m_useLayout = v
- End Property
-
- Public Property Get Title
- Title = m_title
- End Property
-
- Public Property Let Title(v)
- m_title = v
- End Property
-
- Public Sub index()
- %>
- <!--#include file="../views/Home/index.asp" -->
- <%
- End Sub
-
- End Class
-
- Dim HomeController_Class__Singleton
- Function HomeController()
- If IsEmpty(HomeController_Class__Singleton) Then
- Set HomeController_Class__Singleton = New HomeController_Class
- End If
- Set HomeController = HomeController_Class__Singleton
- End Function
- %>
|