* Add zdata to the database script automatically.

This commit is contained in:
leiyong
2020-09-16 14:13:59 +08:00
parent d624251ab6
commit 484490eaa5
17 changed files with 218 additions and 34 deletions
+28
View File
@@ -29,6 +29,34 @@ class project extends control
}
}
/**
* Projects under project set.
*
* @param int $programID
* @param string $browseType
* @param int $param
* @param string $orderBy
* @param int $recTotal
* @param int $recPerPage
* @param int $pageID
* @access public
* @return void
*/
public function projectList($programID = 0, $browseType = 'all', $param = 0, $orderBy = 'order_desc', $recTotal = 0, $recPerPage = 15, $pageID = 1)
{
/* Load pager and get tasks. */
$this->app->loadClass('pager', $static = true);
$pager = new pager($recTotal, $recPerPage, $pageID);
$this->view->projectStats = array();
$this->view->pager = $pager;
$this->view->programID = $programID;
$this->view->browseType = $browseType;
$this->view->orderBy = $orderBy;
$this->view->stack = '';
$this->display();
}
/**
* The index page.
*