2017 © Pedro Peláez
 

cakephp-plugin bake

Bake plugin for CakePHP 3.0 (modified)

image

djamesfar/bake

Bake plugin for CakePHP 3.0 (modified)

  • Thursday, March 12, 2015
  • by djamesfar
  • Repository
  • 1 Watchers
  • 0 Stars
  • 1 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Bake plugin for CakePHP

License, (*1)

This is a beta version of the "bake" system for CakePHP 3.0. It is currently under development and should be considered experimental., (*2)

Installation

You can install this plugin into your CakePHP application using composer., (*3)

The recommended way to install composer packages is:, (*4)

composer require --dev Stage32/bake-plugin

Modifications

Date

3/10/2015, (*5)

Author

djamesfar DJ Far, (*6)

Files

ModelTask.php, (*7)

Changes

Current Behavior

If a keyfield exists in a table that references no table, Bake will create a class using conventions: dropping the "_id" extention and inflecting to a classname. No attempt is made to verify a referenced table., (*8)

Proposed/Implemented behavior

The function getBelongsTo() has been changed to search the tables list, if a matching table is not found, the keyField is passed to findTableReferencedBy($keyField), which returns a matching table if any., (*9)

License

Copyright (c) 2015 Cake Software Foundation, Inc., (*10)

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:, (*11)

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software., (*12)

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE., (*13)

The Versions

12/03 2015

dev-master

9999999-dev https://github.com/djamesfar/bake

Bake plugin for CakePHP 3.0 (modified)

  Sources   Download

MIT

The Requires

 

The Development Requires

by DJ Far

cakephp bake