本文整理匯總了PHP中Main::getDatos_web_contenido方法的典型用法代碼示例。如果您正苦於以下問題:PHP Main::getDatos_web_contenido方法的具體用法?PHP Main::getDatos_web_contenido怎麽用?PHP Main::getDatos_web_contenido使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類Main
的用法示例。
在下文中一共展示了Main::getDatos_web_contenido方法的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: [