directive_value —
Attribute | Pos. | Req. | Default | Description |
---|---|---|---|---|
name | Yes | |||
unparse | Yes | |||
interpolate | 0 | interpolate output? | ||
hide | 0 | Hide the tag return value? |
Interchange 5.9.0:
Source: code/UI_Tag/directive_value.coretag
Lines: 23
# 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: directive_value.coretag,v 1.4 2007-03-30 23:40:54 pajamian Exp $ UserTag directive_value order name unparse UserTag directive_value PosNumber 2 UserTag directive_value Version $Revision: 1.4 $ UserTag directive_value Routine <<EOR sub { my($name,$unparse) = @_; my ($value, $parsed) = UI::Primitive::read_directive($name); if($unparse) { $parsed =~ s/\@\@([A-Z]\w+?)\@\@/$Global::Variable->{$1}/g; $parsed =~ s/__([A-Z]\w+?)__/$Vend::Cfg->{Variable}{$1}/g; } return ($parsed || $value); } EOR