上一页 1 ··· 6 7 8 9 10 11 12 下一页
摘要: 安装yii2-date-picker-widget插件链接地址 https://github.com/2amigos/yii2-date-picker-widget修改index.php文件#code ...us... 阅读全文
posted @ 2015-06-09 11:20 开源 阅读(106) 评论(0) 推荐(0)
摘要: 1.在companies表里面添加一个名字为logo类型varchar(255)字段 2.修改models下的companies.php文件class Companies extends \yii\db\Acti... 阅读全文
posted @ 2015-06-09 11:19 开源 阅读(255) 评论(0) 推荐(0)
摘要: 1.修改index.phpuse yii\bootstrap \Modal;#code ... \yii \helpers\ Url::to ('index.php?r=branches/create') ... 阅读全文
posted @ 2015-06-09 11:18 开源 阅读(2530) 评论(0) 推荐(0)
摘要: 修改index.php,加上‘rowOptions’属性,实现回调的方法 下面的例子实现了:如果这行的branch_status 属性的值是inactive显示的背景是粉红色否则显示绿色 $dataProvid... 阅读全文
posted @ 2015-06-09 11:18 开源 阅读(138) 评论(0) 推荐(0)
摘要: 在gii中生成model文件AuthItem.php和AuthAssignment.php修改SignupForm文件class SignupForm extends Model{# code...public ... 阅读全文
posted @ 2015-06-09 11:17 开源 阅读(318) 评论(0) 推荐(0)
摘要: 修改models下的companies.php /*** @inheritdoc*/public function rules(){ return [ [['company_name' , ... 阅读全文
posted @ 2015-06-09 11:16 开源 阅读(293) 评论(0) 推荐(0)
摘要: php页面的代码:registerJs( $script);?>控制器的代码:use yii\helpers \Json;class LocationsController extends Controller{... 阅读全文
posted @ 2015-06-09 11:15 开源 阅读(311) 评论(0) 推荐(0)
摘要: LayoutInflater 是一个抽象类,在文档中如下声明:public abstract class LayoutInflater extends Object获得 LayoutInflater 实例的三种... 阅读全文
posted @ 2015-05-06 10:47 开源 阅读(93) 评论(0) 推荐(0)
摘要: 以下是小海收集的常用Github上比较优秀的项目,希望对大家日常开发有所帮助。在此感谢小海做出的贡献!!! Type LibDescription LibLocation An... 阅读全文
posted @ 2015-04-30 10:17 开源 阅读(206) 评论(0) 推荐(0)
摘要: 一般都是写上隐藏的form标签,用来调用js函数然后submit全部用js来写也行,以下是我在一个问答频道看见别人写的例子,放在这里function post(URL, PARAMS) { ... 阅读全文
posted @ 2015-04-22 10:19 开源 阅读(3208) 评论(0) 推荐(0)
上一页 1 ··· 6 7 8 9 10 11 12 下一页