We konden deze vermelding niet vinden. Er worden benaderende resultaten weergegeven. Controleer je spelling of stel voor deze term aan het woordenboek toe te voegen.
PostController
For this example, the controller is post, which refers to the PostController class; and the action is show, whose actual meaning is determined by the controller.
Para este ejemplo el controlador es post que refiere a la clase PostController y la acción es show que su significado es determinado por el controlador.
With the Post model ready, we need to fine-tune the actions and views for the controller PostController.
Con el modelo Post listo, necesitamos afinar las acciones y vistas para el controlador PostController.
The PostController instance executes the index action by calling its actionIndex() method.
La instancia de PostController ejecuta la acción index llamando a su método actionIndex().
The view operation is implemented by the actionView() method in PostController.
La operación view es implementada por el método actionView() en PostController.
Andere resultaten
For securing the UsersController you can follow the same technique we did for PostsController.
Para proteger el UsersController se puee seguir la misma técnica utilizada para PostsController.
Instead, we'll replace this with our PostsController by creating a routing rule.
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.
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.
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.
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.
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.
Llamando a nuestro objeto Tabla ArticlesTable, CakePHP deducirá automáticamente que esta Tabla será utilizada en el controlador ArticlesController, y que se vinculará a una tabla en nuestra base de datos llamada articles.
If we try to use some of those new URLs they will still crash, since they expect to direct us to matching PostsController
Si tratamos de utilizar algunas de estas nuevas URLs, estas se colgaran, ya que esperan dirigirnos a un parecido de PostsController.
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.
Potentieel gevoelige of ongepaste informatie
Er worden alleen voorbeelden gegeven om u te helpen het woord of de woordcombinatie waarop u hebt gezocht, te vertalen. Deze worden niet door ons geselecteerd of gevalideerd en kunnen ongepaste taal bevatten. Wij vragen u melding te maken van voorbeelden die dienen te worden aangepast of verwijderd. Vertalingen met grof of informeel taalgebruik worden meestal rood of oranje gemarkeerd.