Help for this page

Select Code to Download


  1. or download this
    'resourcetext' => bless( {
    
    ...
      '_tag' => 'input',
      'type' => 'text'     # I'm expecting 'textarea'
    }, 'HTML::Element' ),
    
  2. or download this
    # Right, have some of this!
    eval "package $class; Class::DBI::Plugin::Type->import()";
    ...
      if $type
        and $type =~ /^(TEXT|BLOB)$/i;
    return $self->_to_textfield($field);
    
  3. or download this
    print My::ClassName->column_type('resourceText'), $/;
    
  4. or download this
    #if ($caller->isa("Class::DBI::mysql") and $caller->can("column_type")
    +) {
    #  return; # My work here is done
    #}