这里分享下CodeIgniter实现更改view文件夹路径的方法控制view文件夹路径的代码:system/core/loader.phppublic function add_package_path($path, $view_cascade=TRUE){$path = rtrim($path, ...
分类:
其他好文 时间:
2014-07-06 17:18:10
阅读次数:
165
openfire 安装报这个错误 A connection to the database could not be made. View the error message by opening the "\logs\error.log" log file, then go back to fix...
分类:
数据库 时间:
2014-07-06 16:43:00
阅读次数:
284
限定pan手势只能在圆内移动view效果:虽然看起来很简单,但实现原理还是稍微有点复杂-_-!!核心的地方,就是需要计算pan手势的点与指定点的距离,不能超过这个距离,超过了就让动画还原,很容易理解:)//// RootViewController.m// Circle//// Copyrig...
分类:
移动开发 时间:
2014-07-06 15:39:38
阅读次数:
222
dropDownList:Yii中可以采用CHtml类来实现,也可以用CActiveForm来实现。一、用CHtml来实现。VIEW中实现:'USA',7=>'France',3=>'Japan'),array('ajax' => array('type'=>'POST', //request ty...
分类:
其他好文 时间:
2014-07-06 14:36:58
阅读次数:
210
Export aborted because fatal lint errors were found.These are listed in the Problems view.Either fix these before running Export again,or turn off "Ru...
分类:
移动开发 时间:
2014-07-06 14:23:18
阅读次数:
363
为什么要自己定义Viewandroid开发中自己定义View的优点是显而易见的。比方说以下的这个顶部导航,它被设计出如今应用的每一个界面,但每次的内容却不尽同样。我们不能在每一个layout资源中都配置一组同样的View吧?假设使用标签,尽管攻克了布局文件的重用性,可是相关View的初始化设置还是没...
分类:
移动开发 时间:
2014-07-06 13:52:31
阅读次数:
201
一、 perl连接Oracle数据库[plain]view plaincopy[oracle@oracle11gR2perl_script]$moreconnect.pl#!/usr/bin/perl#perlscriptusedtoconnecttoOracleusestrict;useDBI;m...
分类:
数据库 时间:
2014-07-06 13:09:28
阅读次数:
278
本文转载至http://blog.csdn.net/remote_roamer/article/details/7105776抛出错误的代码[cpp]view plaincopy//如果返回的报文是错误信息,则抛出错误if([outParamscount]<=0){[NSExceptionraise...
分类:
移动开发 时间:
2014-07-06 13:08:51
阅读次数:
247
本文转载至http://wuchaorang.2008.blog.163.com/blog/static/48891852201232014813990/1.创建并初始化创建UITextView的文件,并在.h文件中写入如下代码:[csharp]view plaincopy#import@inter...
分类:
移动开发 时间:
2014-07-05 21:51:31
阅读次数:
237
用了backbone一段时间了,做一些笔记和总结,看的源码是1.12backbone有events,model,collection,histoty,router,view这些模块,其中events是最基础的,其他的模块的prototype全部都扩展了他,所以events是非常重要的,真的很重要,还...
分类:
其他好文 时间:
2014-07-05 20:55:58
阅读次数:
225