本文整理汇总了PHP中xajaxResponse::addassign方法的典型用法代码示例。如果您正苦于以下问题:PHP xajaxResponse::addassign方法的具体用法?PHP xajaxResponse::addassign怎么用?PHP xajaxResponse::addassign使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类xajaxResponse
的用法示例。
在下文中一共展示了xajaxResponse::addassign方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: datos
function datos($codigo)
{
$objeto = new portafolio();
$objeto->datosportafolio($codigo);
$resp = new xajaxResponse();
$resp->addassign("id_entrada", "value", $objeto->id_entrada);
$resp->addassign("nom_entrada", "value", $objeto->nom_entrada);
$resp->addassign("descripcion", "value", $objeto->descripcion);
$resp->addassign("imagen", "value", $objeto->imagen);
return $resp;
}
示例2: datos
function datos($codigo)
{
$objeto = new informacion();
$objeto->datosinfo($codigo);
$resp = new xajaxResponse();
$resp->addassign("id_info", "value", $objeto->id_info);
$resp->addassign("img_info", "value", $objeto->img_info);
$resp->addassign("tit_info", "value", $objeto->tit_info);
$resp->addassign("desc_info", "value", $objeto->desc_info);
return $resp;
}
示例3: datos
function datos($codigo)
{
$objeto = new usuario();
$objeto->datosusuario($codigo);
$resp = new xajaxResponse();
$resp->addassign("id_usu", "value", $objeto->id_usu);
$resp->addassign("nombre", "value", $objeto->nombre);
$resp->addassign("email", "value", $objeto->email);
$resp->addassign("password", "value", $objeto->password);
return $resp;
}