摘要: 用原生JavaScript实现的一个日历小工具,开箱即用,可用于做签到记录、日程等显示控件,具体自己发挥啦 效果如下图,可以自行美化 >>点击体验<< <div id="signinRecord" class="">err</div> <style> .selectedDate{ border-ra 阅读全文
posted @ 2019-04-25 00:08 我的五年 阅读(19) 评论(0) 推荐(0)
摘要: symfony3.4 开发环境正常,生产环境访问任何路由都报错: Oops! An Error Occurred The server returned a "500 Internal Server Error". 解决办法:清除缓存 php bin/console cache:clear --en 阅读全文
posted @ 2019-03-18 14:45 我的五年 阅读(23) 评论(0) 推荐(0)
摘要: 转载于:王召波 博客 PHP对象的克隆与引用有什么区别? 摘要: 是这样的,这个问题确切说应该是这样的:“ PHP对象的赋值和克隆有什么区别 ”,注意不是复制,就是复制,打开窗子说亮话,就是下面两行有什么区别。 $user2 = $user1这种写法,实际上是引用写法,也就是说本质上user1和us 阅读全文
posted @ 2019-02-28 11:07 我的五年 阅读(8) 评论(0) 推荐(0)
摘要: #security.yml security: # ··· providers: our_db_provider: entity: class: AppBundle:Users property: username #修改class 字段即可 阅读全文
posted @ 2019-02-27 11:09 我的五年 阅读(10) 评论(0) 推荐(0)
摘要: yii、laravel框架都是基于symfony组件衍生,symfony的强大不用多说。文档里有的,很好找的就不写了 附: symfony官网 https://symfony.com/doc/3.4 yml语法(秒懂的那种)https://www.jianshu.com/p/a8252bf2a63d 阅读全文
posted @ 2019-02-21 09:46 我的五年 阅读(36) 评论(0) 推荐(0)
摘要: requirejs的简单使用 define()方法的3个参数: 参数1为模块名称(不填则以当前js的文件名定义一个匿名模块),参数2为依赖项数组(可不填),参数3为模块的实现 引入jQuery: // js/lib/main.js: require.config({ baseUrl:'js/lib' 阅读全文
posted @ 2019-01-10 22:10 我的五年 阅读(257) 评论(0) 推荐(0)
摘要: 用法: //$condition array('表字段对应的entity的属性'=>'值') //$orderBy array('表字段'=>'ASC/DESC') //$count int 结果数 $this->em->getRepository('className')->findBy($con 阅读全文
posted @ 2019-01-10 15:09 我的五年 阅读(17) 评论(0) 推荐(0)
摘要: 1、require、include require、include都是文件包含,不同的是require语句会输出错误信息,并且立即终止脚本处理。而include语句在没有找到文件时则会输出警告,不会终止脚本的处理。 2、require_once、include_once 含义同上,但如多次包含仅加载 阅读全文
posted @ 2018-12-23 00:21 我的五年 阅读(37) 评论(0) 推荐(0)
摘要: 附: doctrine基础(一):https://www.jianshu.com/p/3681e1add282 doctrine官网: https://www.doctrine-project.org/projects/doctrine-orm/en/2.7/reference/configurat 阅读全文
posted @ 2018-12-12 23:36 我的五年 阅读(43) 评论(0) 推荐(0)
摘要: 附: linux目录介绍: https://blog.csdn.net/u013239236/article/details/48845251 > 基础: // 用户 su username # 切换用户(切换到username,默认切换到root) // 防火墙 sudo systemctl st 阅读全文
posted @ 2018-12-07 13:48 我的五年 阅读(10) 评论(0) 推荐(0)