+ add getCount() method.

This commit is contained in:
wangchunsheng
2010-02-06 05:20:49 +00:00
parent 32eac0a859
commit 33fae81638

View File

@@ -73,6 +73,12 @@ class fileModel extends model
return $fileTitles;
}
/* 获得文件数量。*/
public function getCount()
{
return count($this->getUpload());
}
/* 获取上传的文件信息。*/
private function getUpload($htmlTagName = 'files')
{