当前位置: 首页>>代码示例>>PHP>>正文


PHP table_class::find_by_name方法代码示例

本文整理汇总了PHP中table_class::find_by_name方法的典型用法代码示例。如果您正苦于以下问题:PHP table_class::find_by_name方法的具体用法?PHP table_class::find_by_name怎么用?PHP table_class::find_by_name使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在table_class的用法示例。


在下文中一共展示了table_class::find_by_name方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1:

<?php

include_once "../../frame.php";
use_jquery();
js_include_tag('jquery.colorbox-min');
$pos = new table_class('eb_page_pos');
$pos->find_by_name($_POST[pos][name]);
$pos->update_file_attributes('pos');
$pos->update_attributes($_POST['pos'], false);
$pos->save();
?>
<script>
	parent.$.fn.colorbox.close();
	parent.frames['admin_iframe'].location.reload();
</script>
开发者ID:justin1986,项目名称:eachbb,代码行数:15,代码来源:edit.post.php

示例2: dirname

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv=Content-Type content="text/html; charset=utf-8">
	<meta http-equiv=Content-Language content=zh-cn>
	<title>福布斯中文网</title>
	<?php 
include_once dirname(__FILE__) . "/../../frame.php";
use_jquery_ui();
js_include_tag('jquery.colorbox-min', 'admin/position/edit');
css_include_tag('jquery_ui', 'admin');
$pos = new table_class('fb_page_pos');
$pos->find_by_name($_GET['pos_name']);
$fields['link'] = array("标题", "", "mouseover", "链接", "静态链接", "", "", "过期时间", "", "", "说明");
$fields['rich_index_head'] = array("头条标题", "描述", "mouseover", "链接", "静态链接", "图片", "", "", "", "", "说明");
$fields['link_withouttime'] = array("标题", "", "mouseover", "链接", "静态链接", "", "", "", "", "", "说明");
$fields['link_img'] = array("标题", "", "mouseover", "链接", "静态链接", "图片", "", "过期时间", "", "", "说明");
$fields['link_img_withouttime'] = array("标题", "", "mouseover", "链接", "静态链接", "图片", "", "", "", "", "说明");
$fields['img_title'] = array("", "", "mouseover", "", "", "图片", "", "", "", "", "");
$fields['base_img_withoutime'] = array("标题", "描述", "mouseover", "链接", "静态链接", "图片", "", "", "", "", "说明");
$fields['base'] = array("标题", "描述", "mouseover", "链接", "静态链接", "", "", "过期时间", "", "", "说明");
$fields['base_ntime'] = array("标题", "描述", "mouseover", "链接", "静态链接", "", "", "", "", "", "说明");
$fields['base_img'] = array("标题", "描述", "mouseover", "链接", "静态链接", "图片", "", "过期时间", "", "", "说明");
$fields['index_column'] = array("专栏名", "", "mouseover", "链接", "静态链接", "图片", "", "", "用户名", "", "说明");
$fields['index_column2'] = array("专栏名", "", "", "", "", "图片", "", "", "专栏链接", "", "说明");
$fields['index_event'] = array("标题", "", "地点", "链接", "", "图片", "", "", "", "举办日期", "说明");
$fields['magazine'] = array("杂志标题", "杂志介绍", "mouseover", "链接", "", "杂志图片", "", "", "", "", "说明");
$fields['magazine_index'] = array("杂志标题", "", "出版日期", "链接", "", "杂志图片", "", "过期时间", "杂志name", "", "说明");
$fields['simple_magazine'] = array("杂志标题", "", "mouseover", "链接", "", "杂志图片", "", "过期时间", "", "", "说明");
$fields['only_link'] = array("", "", "mouseover", "链接", "静态链接", "", "", "", "", "", "说明");
$fields['only_title'] = array("标题", "", "mouserover", "链接", "静态链接", "", "", "", "", "", "");
开发者ID:justin1986,项目名称:forbes,代码行数:31,代码来源:edit.php


注:本文中的table_class::find_by_name方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。