Date Serial
Categories
Component ID
2356175
Component name
Date Serial
Component type
module
Maintenance status
Development status
Component security advisory coverage
not-covered
Component created
Component changed
Component body
Auto IDJust a tool for PHP corders.
A Drupal module for generating datetime-based serial numbers, for example SALES201502280001.
Usage
Install the module, Then you can find configuration link in admin/config.
You can define new schema in the config page.
At last , you can use DateSerial::newSerial($module_name, $prefix) in your PHP code to generate a new serial number.
æµæ°´å·æ¨¡å—æµè¯·å¿½ç•¥æœ¬æ¨¡å—
ç”¨äºŽç”Ÿæˆæµæ°´å·ï¼ˆä¾‹å¦‚SALES201502280001ï¼‰çš„ä¸€ä¸ªç®€å•æ¨¡å—。
用法
安装模å—,在é…置页é¢èƒ½çœ‹åˆ°è¯¥æ¨¡å—çš„é…置入å£ã€‚
å¯ä»¥åœ¨é…置页é¢ç”Ÿæˆæ–°çš„IDæ ·å¼ã€‚
接下æ¥å°±å¯ä»¥åœ¨ä»£ç ä¸ä½¿ç”¨DateSerial::newSerial($module_name, $prefix)çš„å½¢å¼æ¥ç”Ÿæˆæ–°çš„æµæ°´å·äº†
