dereuromark / cakephp-sandbox

A CakePHP Sandbox app to test and showcase misc. features and tools.
https://sandbox.dereuromark.de
MIT License
60 stars 37 forks source link

Html arrays with newEntities #8

Closed tyspen closed 10 months ago

tyspen commented 7 years ago

A short write up on creating newEntities from an HTML array.

codecov-io commented 7 years ago

Codecov Report

Merging #8 into 3.0 will decrease coverage by 0.03%. The diff coverage is 0%.

Impacted file tree graph

@@             Coverage Diff              @@
##                3.0       #8      +/-   ##
============================================
- Coverage     30.35%   30.31%   -0.04%     
- Complexity      383      384       +1     
============================================
  Files            58       58              
  Lines          1522     1524       +2     
============================================
  Hits            462      462              
- Misses         1060     1062       +2
Impacted Files Coverage Δ Complexity Δ
.../Sandbox/src/Controller/CakeExamplesController.php 0% <0%> (ø) 14 <1> (+1) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update b8a62a7...352d71d. Read the comment docs.

dereuromark commented 7 years ago

We could have the controller parse those post data values into entities, and also repopulate the forms etc maybe?

tyspen commented 7 years ago

Adding it to the write up?

dereuromark commented 7 years ago

yeah as proof that this really works :)