本文整理汇总了PHP中DataHandler::addSimpleFlash方法的典型用法代码示例。如果您正苦于以下问题:PHP DataHandler::addSimpleFlash方法的具体用法?PHP DataHandler::addSimpleFlash怎么用?PHP DataHandler::addSimpleFlash使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类DataHandler
的用法示例。
在下文中一共展示了DataHandler::addSimpleFlash方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: addFlashSendImage
/**
* @param unknown_type $urlToSend
* @param unknown_type $titulo
* @param unknown_type $rotulo
* @param unknown_type $descriptionFile
* @param unknown_type $extencoesValidas
* @param unknown_type $urlToGet
* @param unknown_type $urlToDelete
* @param unknown_type $urlToCapa
* @param unknown_type $urlToGetThumb
* @param unknown_type $funcaoNoTermino
* @param unknown_type $jsID
* @param unknown_type $limiteDeFotos
* @return mixed
*/
static function addFlashSendImage($urlToSend, $titulo = "fotos", $rotulo = "escolher arquivo", $descriptionFile = "Todos os Arquivos", $extencoesValidas = "*.jpg; *.jpeg", $urlToGet = NULL, $urlToDelete = NULL, $urlToCapa = NULL, $urlToGetThumb = "", $funcaoNoTermino = "alert", $jsID = "envioFoto", $limiteDeFotos = NULL)
{
/*
rotulo
urlToSend
urlToCapa
urlProjeto
descriptionFile
extencoesValidas
*/
//echo "<li>urlToSend $urlToSend</li>";
$arrayParametros = array();
$arrayParametros[] = array("rotulo", $rotulo);
//rotuloEnviar
$arrayParametros[] = array("urlToSend", str_replace(array("&", "="), array("[@]", "[.]"), $urlToSend));
$arrayParametros[] = array("urlToGetThumb", str_replace(array("&", "="), array("[@]", "[.]"), $urlToGetThumb));
$arrayParametros[] = array("descriptionFile", $descriptionFile);
$arrayParametros[] = array("extencoesValidas", $extencoesValidas);
$arrayParametros[] = array("titulo", $titulo);
global $URL;
$arrayParametros[] = array("urlProjeto", $URL);
$arrayParametros[] = array("temCapa", "1");
if ($urlToCapa !== NULL) {
$arrayParametros[] = array("urlToCapa", str_replace(array("&", "="), array("[@]", "[.]"), $urlToCapa));
}
if ($urlToGet !== NULL) {
$arrayParametros[] = array("urlToGetLista", str_replace(array("&", "="), array("[@]", "[.]"), $urlToGet));
}
if ($urlToDelete !== NULL) {
$arrayParametros[] = array("urlToDelete", str_replace(array("&", "="), array("[@]", "[.]"), $urlToDelete));
}
if ($funcaoNoTermino !== NULL) {
$arrayParametros[] = array("funcaoNoTermino", $funcaoNoTermino);
}
if ($limiteDeFotos !== NULL) {
$arrayParametros[] = array("limiteDeFotos", $limiteDeFotos);
}
return DataHandler::addSimpleFlash(400, 330, "template/_swf/envio_foto3.swf", $arrayParametros, false, "#FFFFFF");
}