本文整理匯總了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>