phalcon-rest icon indicating copy to clipboard operation
phalcon-rest copied to clipboard

Example Model

Open cmoore4 opened this issue 12 years ago • 3 comments

Implement an example controller using Phalcon ORM models and the query builder.

cmoore4 avatar Jun 09 '13 17:06 cmoore4

it said controller not found when I tried to implement a model, anyone knows the reason?

z115corporation avatar Aug 21 '13 03:08 z115corporation

Nothing? Calling a model in the controller. with me not work. Does anyone know the problem?

saulosousasoares avatar Jan 24 '15 01:01 saulosousasoares

You have to put this at the top of your controller where you wand to use the model: use \PhalconRest\Models{{ Name of your model }};

TriPSs avatar Apr 29 '15 10:04 TriPSs