/** * construct a category object based on the TCategoryId. * @return constructed element based on TCategoryId */ public static function constr_TCategoryId($id) { $instance = new self(); $instance->setTCategoryId($id); return $instance; }