?php
class Pages extends CI_Controller {
public function view($page = 'home') { }
}
</code>
별로 티는 안나지만, 새... pages.php 파일의 view 함수를 변경 합니다.
<code php>
public function view($page = 'home')
{
if ( ! file_exists('appli
?php
class News_model extends CI_Model {
public function __construct() {
$this->load->database();
}
... ]]에 동작하도록 되어 있다. 아래의 코드를 추가한다.
<code php>
public function get_news( $slug = FALSE )
{
if( $slug == FALSE ... <?php
class News extends CI_Controller {
public function __construct() {
paret::__construct();
$th... ('news_model');
} // 컨트롤러가 모델을 사용하는구나.
public function index() {
$data['news'] = $this->news_model->
rface ..%%** 부분은,
<code>
#pragma surface <surfaceFunction> <lightModel> <[optionalparams]>
</code>
* surfaceFunction : 어느 함수가 셰이더 코드를 갖고 있는지 알려줘야 한다. <code>
void surf
---------------
# 바탕화면에 아이콘을 만들거나 인터넷 바로가기를 만들거나
Function makeShortcutOrInternetshortcut
# 프로그램 그룹 만들기
... ----------------------------
; Uninstall section
Function un.onUninstSuccess
HideWindow
MessageBox MB_ICO... NFORMATION|MB_OK "$(^Name)は削除されました。"
FunctionEnd
Function un.onInit
FunctionEnd
Section Uninstall
!insert... 하도록 =====
<code nsis>
#뒤의 세문자를 읽어서, 다음 동작을 결정한다.
Function MakeShortcutOrInternetshortcut
# $0 : 저장할 임시 변수