Nu am putut găsi această intrare. Se afișează rezultate aproximative. Verificați ortografia sau propuneți adăugarea acestui termen în dicționar.
PostsController
En lugar de ello, vamos a sustituir esto con nuestros PostsController mediante la creación de una regla de enrutamiento.
Instead, we'll replace this with our PostsController by creating a routing rule.
Las reglas que vamos a agregar a PostsController deberían permitirle a los autores crear posts, pero prevenir que editen posts que no le pertenezcan.
The rules we're going to add to PostsController should allow authors to create posts but prevent the edition of posts if the author does not match.
Si tratamos de utilizar algunas de estas nuevas URLs, estas se colgaran, ya que esperan dirigirnos a un parecido de PostsController.
If we try to use some of those new URLs they will still crash, since they expect to direct us to matching PostsController
Cuando llamamos a nuestro modelo Post, CakePHP deducirá automáticamente que este modelo se utilizará en el controlador PostsController, y que se vinculará a una tabla en nuestra base de datos llamada posts.
Because of the way the class and file are named, this tells Cake that you want a Post model available in your PostsController that is tied to a table in your default database called 'posts'.
Cuando llamamos a nuestro modelo Post, CakePHP deducirá automáticamente que este modelo se utilizará en el controlador PostsController, y que se vinculará a una tabla en nuestra base de datos llamada posts.
By naming our model Post, CakePHP can automatically infer that this model will be used in the PostsController, and will be tied to a database table called posts.
Nombrando nuestro modelo como Post, CakePHP puede automáticamente inferir que este modelo será usado en el controlador PostsController, y será atado a la tabla de la base de datos llamada posts.
By naming our model Post, CakePHP can automatically infer that this model will be used in the PostsController, and will be tied to a database table called posts.
Para proteger el UsersController se puee seguir la misma técnica utilizada para PostsController.
For securing the UsersController you can follow the same technique we did for PostsController.
Las reglas que vamos a agregar a PostsController deberían permitirle a los autores crear posts, pero prevenir que editen posts que no le pertenezcan.
The rules we're going to add to ArticlesController should permit authors to create articles but prevent authors from editing articles they do not own.
Conținut posibil inadecvat
Exemplele au rolul de a te ajuta să traduci cuvinte sau expresii corect si adaptat la context. Nu sunt selectate sau validate manual, așadar pot conține termeni inadecvați. Te rugăm să raportezi exemplele pe care le consideri inadecvate. Traducerile vulgare sau colocviale sunt în general marcate cu roșu sau cu portocaliu.
Nici un rezultat pentru acest sens.
Sinonime și analogii pentru "PostsController" în limba Română