/**
  * getInstanceメソッド
  *
  * このクラスのオブジェクトを生成する。
  * 既に生成されていたら、前回と同じものを返す。
  *
  * @return object $instance
  */
 public static function getInstance()
 {
     if (!self::$_instance) {
         self::$_instance = new self();
     }
     return self::$_instance;
 }
<?php

/*
*       情報フォルダリスト
*       informationCategoryList.php
*
*
* @copyright   2010 Fraise, Inc.
* @author      mitsuhiro Nakamura
*/
require_once D_BASE_DIR . "/common/admin_common.php";
require_once $controllerOBJ->getIncludeBusinessLogic("admInclude");
$AdmInfoDispPositionOBJ = AdmInformationDisplayPosition::getInstance();
$offset = $requestOBJ->getParameter("offset");
if (!$offset) {
    $offset = 0;
}
$exceptArray[] = "offset";
$param = $requestOBJ->getParameterExcept($exceptArray);
$dispCnt = 20;
$smartyOBJ->assign("param", $param);
// 情報表示場所リスト取得
$dispCategoryList = $AdmInfoDispPositionOBJ->getInformationCategoryList($param, $offset, "sort_seq DESC, id DESC", $dispCnt);
$totalCount = $AdmInfoDispPositionOBJ->getFoundRows();
$dispFirst = $offset + 1;
$dispLast = $offset + count($dispCategoryList);
$smartyOBJ->assign("folderList", $dispCategoryList);
$smartyOBJ->assign("totalCount", $totalCount);
$smartyOBJ->assign("dispFirst", $dispFirst);
$smartyOBJ->assign("dispLast", $dispLast);
$reloadTags = array("offset");