本文整理匯總了PHP中projects::getMembersInProject方法的典型用法代碼示例。如果您正苦於以下問題:PHP projects::getMembersInProject方法的具體用法?PHP projects::getMembersInProject怎麽用?PHP projects::getMembersInProject使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類projects
的用法示例。
在下文中一共展示了projects::getMembersInProject方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: isset
}
}
}
}
if (isset($_POST['projectidfromposition']))
{
$projects->project_foo = new project_foo();
$projects->project_foo->pr_id = $_POST['projectidfromposition'];
$onLoadElement = ' onload="x_getProjectData('.$projects->project_foo->pr_id.')"';
$archivestyle = $projects->isDeletable($projects->project_foo->pr_id) ? 'inline' : 'none';
}
$projectlist = $projects->GetList($psortfield,$psortorder,$psearchstring,$pstatus);
$pr_id = isset($projects->project_foo->pr_id) ? $projects->project_foo->pr_id : $pr_formvars->pr_id;
if ($projects->getMembersInProject($pr_id))
$pr_formvars->membersInProjectArray = $projects->membersInProjectArray;
if ($projects->getMembersList($pr_id))
$pr_formvars->membersArray = $projects->membersArray;
$membid = $user->empl_position < 100 ? $user->empl_id : 0;
$taet = new taet();
$taet->getMemberProjects($membid);
$formvars->projectsArray = $taet->projectsArray;
$timestamp = time();
$thisMonth = (int) date('m',$timestamp);
$thisYear = (int) date('Y',$timestamp);
$lastDayOfMonth = (int) date('t',$timestamp);
$startThisMonth = mktime(0,0,0,$thisMonth,1,$thisYear);
$finishThisMonth = mktime(23,59,59,$thisMonth,$lastDayOfMonth,$thisYear);