display
검색
전체 텍스트 결과:
- IDE 환경 설정 @language:php:설정
- 1 조회 수, 마지막으로 수정됨:
- 메시지를 보려면,
php.ini 파일에서,
<code ini>
; Off -> On
display_errors = On
</code>
설정을 변경.
====== timezone 설정
- Tutorial - News section @language:php:codeigniter
- 1 조회 수, 마지막으로 수정됨:
- 신경쓰지 않았을텐데, ActiveRecord가 알아서 처리해줬기 때문이다.
===== Display the news =====
쿼리 작성은 완료되었다. (오호) 모델은 뉴스를 출력할 뷰와
- PHP 클래스
- 8 조회 수, 마지막으로 수정됨:
- 든다.
<code php>
interface Displayable
{
function display();
}
</code>
사용하려면,
<code php>
class SomePage implements Displayable
{
function display()
{
// ..
}
}
</code>
===== php 고급 객체 지향 기능 ... all( $methodName, $param )
{
if( $methodName == 'display' ) {
if( is_object($param[0]) )
$this->disp... $param[0] );
}
}
//사용 예
$ov = new overload;
$ov->display( array(1,2,3) ); // call displayArray()
$ov->disp