本文整理汇总了PHP中Control::Controle_professor方法的典型用法代码示例。如果您正苦于以下问题:PHP Control::Controle_professor方法的具体用法?PHP Control::Controle_professor怎么用?PHP Control::Controle_professor使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Control
的用法示例。
在下文中一共展示了Control::Controle_professor方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: Control
}
?>
</select>
</span>
<span class="system negative"></span>
</div>
</div>
<div class="row">
<label>Parceiro:</label>
<div class="inputs">
<span class="input_wrapper blank">
<select name="professor_idprofessor" id="professor_idprofessor" title="">
<option selected value="">---</option>
<?php
$c = new Control();
$arre = $c->Controle_professor($idi);
for ($j = 0; $j < count($arre); $j++) {
?>
<option value="<?php
print $arre[$j]->idprofessor['idprofessor'];
?>
" <?php
if ($arre[$j]->idprofessor['idprofessor'] == $arr[$i]->professor_idprofessor['professor_idprofessor']) {
echo "selected";
}
?>
><?php
print $arre[$j]->nome['nome'];
?>
</option>
<?php
示例2: Control
}
?>
</select>
</span>
<span class="system negative"></span>
</div>
</div>
<div class="row">
<label>Parceiro:</label>
<div class="inputs">
<span class="input_wrapper blank">
<select name="professor_idprofessor" id="professor_idprofessor" title="">
<option selected value="">---</option>
<?php
$c = new Control();
$arre = $c->Controle_professor($idi = null, $_GET['ed']);
for ($j = 0; $j < count($arre); $j++) {
?>
<option value="<?php
print $arre[$j]->idprofessor['idprofessor'];
?>
"><?php
print $arre[$j]->nome['nome'];
?>
</option>
<?php
}
?>
</select>
</span>
<span class="system negative"></span>
示例3: Control
}
?>
</select>
</span>
<span class="system negative"></span>
</div>
</div>
<div class="row">
<label>Parceiro:</label>
<div class="inputs">
<span class="input_wrapper blank">
<select name="professor_idprofessor" id="professor_idprofessor" title="">
<option selected value="">---</option>
<?php
$c = new Control();
$arre = $c->Controle_professor($idi = null);
for ($j = 0; $j < count($arre); $j++) {
?>
<option value="<?php
print $arre[$j]->idprofessor['idprofessor'];
?>
"><?php
print $arre[$j]->nome['nome'];
?>
</option>
<?php
}
?>
</select>
</span>
<span class="system negative"></span>