php开源cmf,php-thinkcmf

```json

{

// Place your s.zoo.cn workspace snippets here. Each snippet is defined under a snippet name and has a scope, prefix, body and

// description. Add comma separated ids of the languages where the snippet is applicable in the scope field. If scope

// is left empty or omitted, the snippet gets applied to all languages. The prefix is what is

// used to trigger the snippet and the body will be expanded and inserted. Possible variables are:

// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders.

// Placeholders with the same ids are connected.

// Example:

"from upload image": {

"scope": "javascript,typescript,css,html",

"prefix": "from_img_cmf",

"body": [

"",

"\\$include_uploadimg_param = [",

"'name' => 'ad_pic',",

"'img' => isset(\\$row['pic']) && \\$row['pic']? cmf_get_image_preview_url( \\$row['pic'] ):''",

"];",

"",

"",

],

"description": "上传一个图片 在表单中"

},

"cmf_get_image_preview_url": {

"scope": "javascript,typescript,css,html",

"prefix": "cmf_get_image_preview_url",

"body": [

"cmf_get_image_preview_url($1)"

],

"description": "获取图片的访问连接"

},

"model_tp": {

"scope": "html,php",

"prefix": "model_tp",

"body": [

"",

"",

"namespace app\\\\$1\\model;",

"",

"use think\\Model;",

"",

"class $2Model extends Model",

"{",

"\tprotected \\$table = '$3';",

"",

"",

"}"

],

"description": "thinkphp model定义"

},

"phptag1": {

"scope": "javascript,typescript,css,html,php",

"prefix": "phptag1",

"body": [

"<?php ",

"",

"$1"

],

"description": "php标签"

},

"foreach": {

"scope": "javascript,typescript,css,html",

"prefix": "foreach",

"body": [

"",

"{\\$key}",

""

],

"description": "foreach 模板标签"

},

}

```

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
ThinkCMF x1.1.3更新说明: ·统一Member应用为User,合并前台会员和后台管理员 ·完善用户中心,会员登录注册 ·增加编辑头像,绑定账号,我的评论,我的收藏 ·增加文章点赞,收藏,查看功能,可与其它应用共用 ·增强文章评论功能,方便多应用共用 ·优化留言功能,增强安全性 ·优化前台模板,增加多个实用组件,方便以后复用 ·增加后台风格切换功能; ·增加后台风格bluesky ·优化后台菜单使用方式 ·优化数据库中一些不规范字段 ·增加前台标签库TagLibHome,统一include标签为tc_include ·url美化 ·特殊用户名过滤 ·增加推荐,置顶功能 ·幻灯片隐藏显示功能 ·广告隐藏显示功能 ·友情链接隐藏显示功能 ·评论计数   ThinkCMF第一款开源的中文内容管理框架,让WEB开发更简单。   系统特点: ThinkCMF是一款基于PHP MYSQL开发的中文内容管理框架。ThinkCMF提出灵活的应用机制,框架自身提供基础的管理功能,而开发者可以根据自身的需求以应用的形式进行扩展。每个应用都能独立的完成自己的任务,也可通过系统调用其他应用进行协同工作。在这种运行机制下,开发商场应用的用户无需关心开发SNS应用时如何工作的,但他们之间又可通过系统本身进行协调,大大的降低了开发成本和沟通成本。      相关阅读 同类推荐:站长常用源码
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值