You are here

function vancode2int in Drupal 6

Same name and namespace in other branches
  1. 4 modules/comment.module \vancode2int()
  2. 5 modules/comment/comment.module \vancode2int()
  3. 7 modules/comment/comment.module \vancode2int()

Decode vancode back to an integer.

1 call to vancode2int()
comment_save in modules/comment/comment.module
Accepts a submission of new or changed comment content.

File

modules/comment/comment.module, line 2001
Enables users to comment on published content.

Code

function vancode2int($c = '00') {
  return base_convert(substr($c, 1), 36, 10);
}