示例#1
0
 /**
  * create a new category
  *
  * @param bool $isNew flag the new objects as "new"?
  * @return object ssCategory
  */
 function &create($isNew = true)
 {
     $category = new ssCategory();
     if ($isNew) {
         $category->setNew();
     }
     return $category;
 }