구)홈페이지 오탈자 보기
만들면서 배우는 CodeIgniter 프레임워크

 

페이지오탈자 내용등록일
351

(3장 51페이지)

6번 항목

$this->load->helper('url'); 
-> 
$this->load->helper(array('url', 'date')); 

2013-08-021
366

(밑에서 3번째 줄)

input type="submit" class="btn btn-primary" id="write_btn" value="작성"></button>
->
<input type="submit" class="btn btn-primary" id="write_btn" value="작성">

2013-09-011
478

(코드(DB스키마))

  `hits` INT(10) NOT NULL COMMENT '조회수',
->
  `hits` INT(10) NOT NULL DEFAULT '0' COMMENT '조회수',

2013-07-241
482

(4번 항목)

function __construct()
{
      parent::__construct();
      $this->load->database();
      $this->load->model('board_m');
}
->
function __construct()
{
      parent::__construct();
      $this->load->database();
      $this->load->model('board_m');
      $this->load->helper(array('url', 'date'));
}

2013-09-021
485

(NOTE 2번 줄)

bbs/application/config/autoload/php
->
bbs/application/config/autoload.php

2013-08-211
489

(2번 항목 8번째 줄 (두 번 반복))

<?php echo mdate("%Y-%M-%j",$lt->reg_date);?>
->
<?php echo mdate("%Y-%M-%j", human_to_unix($lt->reg_date));?>

2013-08-021
489

(3번 째줄)

<table cellspaCodeIgniterng="0" callpadding="0">
->
<table cellspacing="0" callpadding="0">

2013-09-161
4114

(3번째 문단 1번 줄)

AR에 대해서는 부록 A.6절에서 자세히 설명합니다.
->
삭제

2013-07-241
4127

(소스 코드 6번)

$write_data = array(
     'subject' => $this->input->post('subject',true),
     'contents' => $this->input->post('contents',true),
);
->
$write_data = array(
     'table' => $this->uri->segment(3),
     'subject' => $this->input->post('subject',true),
     'contents' => $this->input->post('contents',true),
);

2013-08-141
4135

(소스 코드 5번)

$this->load->view('board/mofify_v', $data);
->
$this->load->view('board/modify_v', $data);

2013-08-141
4135

(135p, 136p)

135쪽 소스 코드 설명 표식에 3이 두 번 중복되었습니다.

3, 3, 4, 5
->
3, 4, 5, 6

136쪽 소스 코드 설명 표식도 다음과 같이 수정합니다.

3, 3, 5, 6
->
3, 4, 5, 6

2013-09-111
4169

(169p)

최대 12글자(max_length[5])로 제한하는 규칙이 추가됐습니다.
-> 
최대 12글자(max_length[12])로 제한하는 규칙이 추가됐습니다.

passconf 필드와 매치가 되는지 체크하는 규칙 match[passconf]가 추가됐습니다.
->
passconf 필드와 매치가 되는지 체크하는 규칙 matches[passconf]가 추가됐습니다.

2013-09-111
5171

(표에서 설명 수정)

exact_length 파라미터에서 테이블 및 필드 이름이 유일하지 않다면 FALSE를 리턴 합니다 .
greater_than 검사대상이 알파벳 이외의 문자를 포함할 때 FALSE를 리턴 합니다.
less_than 검사대상이 알파벳이나 숫자가 아닌 문자를 포함할 때 FALSE를리턴 합니다.
->
exact_length 검사 대상의 길이가 파라미터 값과 다를때 FALSE를 리턴합니다 .
greater_than 검사 대상이 지정된 값보다 작거나 숫자가 아닌 경우 FALSE를 리턴합니다.
less_than 검사 대상이 지정된 값보다 크거나 숫자가 아닌 경우 FALSE를 리턴합니다.

2013-09-111
7212

(1번 항목)

if( @$this->session->userdata['logged_in'] == TRUE )

->['logged_in']을 ('logged_in')로 수정

if( @$this->session->userdata('logged_in') == TRUE )

2013-08-191
7212

(2번 항목)

<?php echo $this->session->userdata['username']?>님 환영합니다.

-> ['username']을 ('username')으로 변경.

<?php echo $this->session->userdata('username')?>님 환영합니다.

2013-08-191
8250

(2번 항목)

$this->db->insert($this->ari->segment(3), $insert_array);
->
$this->db->insert($this->uri->segment(3), $insert_array);

2013-09-161
10308

(마지막 줄)

모델은 다음의 insert_sns()와 update-sns() 함수가 변경되었습니다. 
-> 
모델은 다음의 insert_sns()와 update_sns() 함수가 변경되었습니다. 

2013-07-241
10326

(3번 줄)

$this->upload->date()
->
$this->upload->data()

2013-07-241
0419

(NOTE 1번 줄)

팀장이이슈트래커
-> 
팀장이 이슈트래커

2013-07-241