![]() |
![]()
| ![]() |
![]()
NAMEConfig::Model::Role::ComputeFunction - compute &index or &element functions VERSIONversion 2.155 SYNOPSIS$value->eval_function('index'); $value->eval_function('element'); $value->eval_function('index','-'); $value->eval_function('index','- -'); $value->eval_function('index','-3'); $value->compute_string('&element(-)') $value->compute_string('&index(- -)'); DESCRIPTIONRole used to let a value object get the index or the element name of $self or of a node above. METHODSeval_functionRetrieve the index or the element name. Parameters are ( function_name , [ up ])
compute_stringPerform a similar function as "eval_function" using a string where function names are extracted. E.g. "compute_string('&element(-)')" calls "eval_function('element','-')" AUTHORDominique Dumont COPYRIGHT AND LICENSEThis software is Copyright (c) 2005-2022 by Dominique Dumont. This is free software, licensed under: The GNU Lesser General Public License, Version 2.1, February 1999
|