| Package: machii_info_sample.model.dao |
| Inherits from: model.dao.DAOFactory |
| Method Summary | |
|---|---|
| public categoryDAO | getCategoryDAO() |
| public commentDAO | getCommentDAO() |
| public faqDAO | getFaqDAO() |
| public userDAO | getUserDAO() |
| Methods inherited from model.dao.DAOFactory: getDAOFactory , init |
|---|
| Method Detail |
|---|
| getCategoryDAO |
|---|
public categoryDAO getCategoryDAO( )
Parameters:
Code:
<cffunction name="getCategoryDAO" access="public" returntype="machii_info_sample.model.category.categoryDAO" output="false">
<cfset var categoryDAO = "" />
<cfset categoryDAO = createObject("component","machii_info_sample.model.category.categoryDAO_mysql").init(variables.dsn) />
<cfreturn categoryDAO />
</cffunction>
| getCommentDAO |
|---|
public commentDAO getCommentDAO( )
Parameters:
Code:
<cffunction name="getCommentDAO" access="public" returntype="machii_info_sample.model.comment.commentDAO" output="false">
<cfset var commentDAO = "" />
<cfset commentDAO = createObject("component","machii_info_sample.model.comment.commentDAO_mysql").init(variables.dsn) />
<cfreturn commentDAO />
</cffunction>
| getFaqDAO |
|---|
public faqDAO getFaqDAO( )
Parameters:
Code:
<cffunction name="getFaqDAO" access="public" returntype="machii_info_sample.model.faq.faqDAO" output="false">
<cfset var faqDAO = "" />
<cfset faqDAO = createObject("component","machii_info_sample.model.faq.faqDAO_mysql").init(variables.dsn) />
<cfreturn faqDAO />
</cffunction>
| getUserDAO |
|---|
public userDAO getUserDAO( )
Parameters:
Code:
<cffunction name="getUserDAO" access="public" returntype="machii_info_sample.model.user.userDAO" output="false">
<cfset var userDAO = "" />
<cfset userDAO = createObject("component","machii_info_sample.model.user.userDAO_mysql").init(variables.dsn) />
<cfreturn userDAO />
</cffunction>