本文整理汇总了PHP中Main::getDatos_web_evento方法的典型用法代码示例。如果您正苦于以下问题:PHP Main::getDatos_web_evento方法的具体用法?PHP Main::getDatos_web_evento怎么用?PHP Main::getDatos_web_evento使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Main
的用法示例。
在下文中一共展示了Main::getDatos_web_evento方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: grilla_informativo
public function grilla_informativo($p)
{
$obj = new Main();
// $obj->table = $p['table'];
//// $obj->criterio = $p['criterio1'];
// $obj->criterio = $p['criterio'];
// $obj->filtro = $p['filtro'];
// $obj->filtro1 = $p['filtro1'];
$data = array();
$data['rows'] = $obj->getDatos_web_informativo();
$data['rows2'] = $obj->getDatos_web_evento();
$data['rows3'] = $obj->getDatos_web_noticias();
$data['rows4'] = $obj->getDatos_web_contenido();
$data['rows5'] = $obj->getDatos_web_desarrolladores();
$data['name'] = $p['name'];
$data['id'] = $p['id'];
$data['code'] = $p['code'];
$data['disabled'] = $p['disabled'];
$view = new View();
$view->setData($data);
$view->setTemplate('../contenido.php');
return $view->renderPartial();
}
示例2: Main
<?php
include 'lib/dbfactory.php';
include 'model/Main.php';
$obj = new Main();
$data = array();
$data['rows'] = $obj->getDatos_web_informativo();
$data['rows2'] = $obj->getDatos_web_evento();
$data['rows3'] = $obj->getDatos_web_noticias();
$data['rows4'] = $obj->getDatos_web_contenido();
$data['rows5'] = $obj->getDatos_web_desarrolladores();
$data['name'] = $p['name'];
$data['id'] = $p['id'];
$data['code'] = $p['code'];
$data['disabled'] = $p['disabled'];
?>
<script>
$(function () {
$("#cambio_contrasena").dialog({
autoOpen: false,
width: 400,
show: {
effect: "blind",
duration: 1000
},
hide: {
effect: "explode",
duration: 1000
},
buttons: [