ppant

Fetch type id based on name

Jul 18th, 2017
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Perl 0.27 KB | None | 0 0
  1. my $filter_type_name = "html__sr_pr";
  2.    # we need to fetch the html type id from Document Type
  3.     my $dt = new DocumentType($self->{LOG},
  4.     $self->{DB_CONNECTION},
  5.     undef, $filter_type_name);
  6.     my $htmltype =  $dt-> fetch_document_type_id_by_name($filter_type_name);
Add Comment
Please, Sign In to add comment