本文整理汇总了PHP中Formulario::getIA6方法的典型用法代码示例。如果您正苦于以下问题:PHP Formulario::getIA6方法的具体用法?PHP Formulario::getIA6怎么用?PHP Formulario::getIA6使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Formulario
的用法示例。
在下文中一共展示了Formulario::getIA6方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: atualizar
public function atualizar(Formulario $formulario)
{
try {
$sql = "UPDATE formulario SET " . " anoConclusao = :anoConclusao," . " ia1 = :ia1," . " ia2 = :ia2," . " ia3 = :ia3," . " ia4 = :ia4," . " ia5 = :ia5," . " ia6 = :ia6," . " ic1 = :ic1," . " ic2 = :ic2," . " ic3 = :ic3," . " ic4 = :ic4," . " ic5 = :ic5" . " ic6 = :ic6," . " ic7 = :ic7," . " ic8 = :ic8," . " ic9 = :ic9," . " ic10 = :ic10" . " id1 = :id1," . " id2 = :id2," . " id3 = :id3," . " ic4 = :ic4," . " ip1 = :ip1" . " ip2 = :ip2," . " ip3 = :ip3," . " ip3a = :ip3a" . " ip3b = :ip3b," . " ip3c = :ip3c," . " ip3d = :ip3d," . " sugestao = :sugestao," . " semestre = :semestre," . " status = :status," . " idUsuario = :idUsuario" . " WHERE id = :id";
$p_sql = $this->pdo->prepare($sql);
$p_sql->bindValue(":id", $formulario->getId());
$p_sql->bindValue(":anoConclusao", $formulario->getAnoConclusao());
$p_sql->bindValue(":ia1", $formulario->getIA1());
$p_sql->bindValue(":ia2", $formulario->getIA2());
$p_sql->bindValue(":ia3", $formulario->getIA3());
$p_sql->bindValue(":ia4", $formulario->getIA4());
$p_sql->bindValue(":ia5", $formulario->getIA5());
$p_sql->bindValue(":ia6", $formulario->getIA6());
$p_sql->bindValue(":ic1", $formulario->getIC1());
$p_sql->bindValue(":ic2", $formulario->getIC2());
$p_sql->bindValue(":ic3", $formulario->getIC3());
$p_sql->bindValue(":ic4", $formulario->getIC4());
$p_sql->bindValue(":ic5", $formulario->getIC5());
$p_sql->bindValue(":ic6", $formulario->getIC6());
$p_sql->bindValue(":ic7", $formulario->getIC7());
$p_sql->bindValue(":ic8", $formulario->getIC8());
$p_sql->bindValue(":ic9", $formulario->getIC9());
$p_sql->bindValue(":ic10", $formulario->getIC10());
$p_sql->bindValue(":id1", $formulario->getID1());
$p_sql->bindValue(":id2", $formulario->getID2());
$p_sql->bindValue(":id3", $formulario->getID3());
$p_sql->bindValue(":ip1", $formulario->getIP1());
$p_sql->bindValue(":ip2", $formulario->getIP2());
$p_sql->bindValue(":ip3", $formulario->getIP3());
$p_sql->bindValue(":ip3a", $formulario->getIP3A());
$p_sql->bindValue(":ip3b", $formulario->getIP3B());
$p_sql->bindValue(":ip3c", $formulario->getIP3C());
$p_sql->bindValue(":ip3d", $formulario->getIP3D());
$p_sql->bindValue(":sugestao", $formulario->getSugestao());
$p_sql->bindValue(":semestre", $formulario->getSemestre());
$p_sql->bindValue(":status", $formulario->getStatus());
$p_sql->bindValue(":idUsuario", $formulario->getIdUsuario());
return $p_sql->execute();
} catch (Exception $e) {
print "Ocorreu um erro ao tentar executar esta ação, foi gerado um LOG do mesmo, tente novamente mais tarde.";
}
}