PhalconPHP devtools를 사용하여 프로젝트 뼈대를 만들고 indexController에서 indexAction(){}
의 일부 테스트를 수행했습니다. 내가 두 번 컨텐츠를 얻고이 방법을 알고에코 출력을 변경할 수 없습니다.
<!DOCTYPE html>
<html>
<head>
<title>Phalcon PHP Framework</title>
</head>
<body>
<?php echo $this->view->getContent(); ?>
{{ content() }}
</body>
</html>
:
는내 인덱스 컨트롤러 : 같은
class IndexController extends ControllerBase
{
public function indexAction()
{
echo "OUUUUUTPUUUUUUUUUUUUUUUT";
}
}
및 index.volt 보인다. 하지만 이것은 디버깅을위한 것입니다. 내가 할 출력은 : 나는 PhalconPHP 1.3.0 우분투 서버 12.04 테스트를위한 크롬 브라우저를 사용하고 있어요
<h1>Congratulations!</h1>
<p>You are now flying with Phalcon. Great things are about to happen!</p>
<h1>Congratulations!</h1>
<p>You are now flying with Phalcon. Great things are about to happen!</p>
.
당신은 스크린 샷을 재 게시 또는 여기에 출력을 붙여 복사 단지 수 있을까요? –
이미지 URL을 복사하여 다른 탭에 붙여 넣을 수 있습니다. 이미지 크기가 조정되었습니다 – Ismail