当前位置: 首页>>代码示例>>PHP>>正文


PHP project::getProjectSkills方法代码示例

本文整理汇总了PHP中project::getProjectSkills方法的典型用法代码示例。如果您正苦于以下问题:PHP project::getProjectSkills方法的具体用法?PHP project::getProjectSkills怎么用?PHP project::getProjectSkills使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在project的用法示例。


在下文中一共展示了project::getProjectSkills方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1:

  <button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">&times;</span></button>
  <strong>Oh snap!</strong> Something went wrong!
</div></div>';
    }
} else {
    //echo '<br/><br/><br/><br/><br/>Page is refreshed. No need to post.';
    $outputMessage = null;
}
if (isset($_REQUEST['project_id'])) {
    // Project id is set that means this is for update, not add
    // Get project id
    $project_id = $_REQUEST['project_id'];
    //Get project
    $dbRow_Project = $objProject->getProject($userid, $project_id);
    if (isset($dbRow_Project)) {
        $dbRows_Skill = $objProject->getProjectSkills($project_id);
    }
}
// When page is refreshed, this will avoid multiple post
$_SESSION['key'] = mt_rand(1, 1000);
?>

<!-- Typehead -->
<script src="includes/typeahead.bundle.js"></script>
<!-- End of Typehead ref. -->

 <!-- Select 2 -->
<link href="//cdnjs.cloudflare.com/ajax/libs/select2/4.0.1/css/select2.min.css" rel="stylesheet" />
<script src="//cdnjs.cloudflare.com/ajax/libs/select2/4.0.1/js/select2.min.js"></script>
<link rel="stylesheet" href="includes/select2-bootstrap.min.css">
<link rel="stylesheet" href="includes/select2-bootstrap.css">
开发者ID:savon40,项目名称:Skills_Endorsement_Project,代码行数:31,代码来源:addedit_project.php

示例2: printSkills

					          <h4 class="list-group-item-heading">Project Description:</h4>
							  <p class="list-group-item-text">
								  <span class="more">
								  <?php 
    echo $dbRow['project_desc'];
    ?>
								  </span></p>
				          </div>
				          
				          <!-- Skills used -->
				          <div class="col-md-4" style="background-color: #ffffff">
					          <h4 class="list-group-item-heading">Skills Used:</h4>
					          
					          <?php 
    // Get project's skills
    $dbRow_ProjectSkills = $objProject->getProjectSkills($dbRow['project_id']);
    // Print skills
    printSkills($dbRow_ProjectSkills, 10, $userid, $displayname, $endorsement_left);
    ?>
					          
					          <!--
					          <ul class="nav nav-pills" role="tablist"> 
						        <li role="presentation"><a href="#">Java <span class="badge">9</span></a></li>
					  <li role="presentation"><a href="#">C#<span class="badge">5</span></a></li>
					  <li role="presentation"><a href="#">AngularJS<span class="badge">2</span></a></li>
					  <li role="presentation"><a href="#">CSS<span class="badge">1</span></a></li>    
					          </ul>
					          -->
					          
				          </div>
				          
开发者ID:kamalthakker,项目名称:Skills_Endorsement_Project,代码行数:30,代码来源:index.php


注:本文中的project::getProjectSkills方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。