![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 62 Pomógł: 0 Dołączył: 3.03.2008 Skąd: Białoruś Ostrzeżenie: (0%) ![]() ![]() |
Próbuje uruchomić zend framework na localhoscie. Ale coś nie działa... Controllera Korzystam z tego oto samouczka http://blog.heavymind.net/zend-framework-tutorial/ Doszedlem do sprawdzania dzialania controllerów. Controller sie uruchamia, ale funkcje nie. W czym moze być problem?
|
|
|
![]() |
![]()
Post
#2
|
|
Grupa: Zarejestrowani Postów: 62 Pomógł: 0 Dołączył: 3.03.2008 Skąd: Białoruś Ostrzeżenie: (0%) ![]() ![]() |
to jest kod controllera:
<?php echo "test"; class IndexController extends Zend_Controller_Action { function indexAction() { echo "<p>in IndexController::indexAction()</p>"; } function addAction() { echo "<p>in IndexController::addAction()</p>"; } function editAction() { echo "<p>in IndexController::editAction()</p>"; } function deleteAction() { echo "<p>in IndexController::deleteAction()</p>"; } } Gdy wpisuje http://localhost/projekt/index/ to sie wyswietla "test" a funkcje zawarte w kontrollerze juz nie Ten post edytował coolin1986 3.03.2008, 21:33:32 |
|
|
![]() ![]() |
![]() |
Aktualny czas: 4.10.2025 - 12:47 |