定制 chp/cdatabasemodel 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

chp/cdatabasemodel

Composer 安装命令:

composer require chp/cdatabasemodel

包简介

Database content to Anax-MVC

README 文档

README

A model for database-methods, made with guidelines by https://dbwebb.se/kunskap/skapa-basklasser-for-databasdrivna-modeller-i-anax-mvc (Swedish).

Added extra:

Limit: $this->[your-class]->limit(1)

Offset: $this->[your-class]->offset(1)

Count all: $this->[your-class]->countAll()

Find all with paging support: $this->[your-class]->findAll($page, $perPage)

Made by Rasmus Berg, rasmus.berg@chibidesign.se

License

This software is free software and carries a MIT license.

Use of external libraries

The following external modules are excluded but will be needed for run this classes.

Anax-MVC (Get this one first)

Mos/CDatabase

Install instructions

1. First you will need to install the other modules (if not got theim already).

2. The easiest way to install this is using composer:

Write this in your composer:

    "chp/cdatabasemodel": "dev-master"

History

###History for CDatabaseModel for ANAX-MVC

v2.0 (2017-10-03)

  • Added: Paging support to Find all method (ex. $this->users->findAll($page, $perPage))
  • Added: Count all method (ex. $this->users->countAll())
  • Bugfix: User object was send with properties
  • Bugfix: Update method never save id, when object was send for be edit

v1.0.1 (2017-03-09)

  • Update: Remove short php-tag
  • Bugfix: Fix wrong namespace

v1.0.0 (2016-11-20)

  • First release on Github.
Copyright (c) 2016-2017 Rasmus Berg, rasmus.berg@chibidesign.se

统计信息

  • 总下载量: 114
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-11-20

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固