/page 網頁
代碼: 選擇全部
<a href="{url page="schedConf" op="registration"}" class="btn btn-primary action">{translate key="author.registration"}</a>
代碼: 選擇全部
switch ($op) {
case 'index':
case 'register':
case ...:
case 'presentations':
define('HANDLER_CLASS', 'SchedConfHandler');
import('pages.schedConf.SchedConfHandler');
break;
}
代碼: 選擇全部
define('HANDLER_CLASS', 'SchedConfHandler');
import('pages.schedConf.SchedConfHandler');
/classes 儲放 DAO(資料庫資料處理相關) 所在,如: /classes/submissions/author/AuthorSubmissionDAO.inc.php
如:
代碼: 選擇全部
$authorSubmissionDao =& DAORegistry::getDAO('AuthorSubmissionDAO');
...
$submissions = $authorSubmissionDao->getAuthorSubmissions($user->getId(), $schedConf->getId(), $active, null, $sort, $sortDirection);