You are here

function vancode2int in Drupal 7

Same name and namespace in other branches
  1. 4 modules/comment.module \vancode2int()
  2. 5 modules/comment/comment.module \vancode2int()
  3. 6 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 2514
Enables users to comment on published content.

Code

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