widget-meta —
| Attribute | Pos. | Req. | Default | Description |
|---|---|---|---|---|
| type | Yes | |||
| view | ||||
| meta_table | ||||
| interpolate | 0 | interpolate output? | ||
| hide | 0 | Hide the tag return value? |
Interchange 5.9.0:
Source: code/UI_Tag/widget_meta.coretag
Lines: 13
# Copyright 2002-2007 Interchange Development Group and others # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. See the LICENSE file for details. # # $Id: widget_meta.coretag,v 1.4 2007-03-30 23:40:54 pajamian Exp $ UserTag widget-meta Order type UserTag widget-meta addAttr UserTag widget-meta Version $Revision: 1.4 $ UserTag widget-meta MapRoutine Vend::Table::Editor::widget_meta
Source: lib/Vend/Table/Editor.pm
Lines: 653
sub widget_meta {
my ($type,$opt) = @_;
my $meta = meta_record("_widget::$type", $opt->{view}, $opt->{meta_table}, 1);
return $meta if $meta;
my $w = $Vend::Cfg->{CodeDef}{Widget};
if($w and $w->{Widget}{$type}) {
my $string;
return undef unless $string = $w->{ExtraMeta}{$type};
return get_option_hash($string);
}
$w = $Global::CodeDef->{Widget};
if($w and $w->{Widget}{$type}) {
my $string;
return undef unless $string = $w->{ExtraMeta}{$type};
return get_option_hash($string);
}
return $Vend::Form::ExtraMeta{$type};
}