PHP 5 방식의 생성자 (__construct) 사용

This commit is contained in:
Kijin Sung 2015-04-01 11:30:04 +09:00
parent 73178c94bb
commit 15d3ba7ca1
88 changed files with 113 additions and 113 deletions

View file

@ -40,7 +40,7 @@ class Limit
* @param int $page_count
* @return void
*/
function Limit($list_count, $page = NULL, $page_count = NULL)
function __construct($list_count, $page = NULL, $page_count = NULL)
{
$this->list_count = $list_count;
if($page)