Цитата:
Сообщение от
Sada
PHP код:
edit CurrentShift CurrentShift (boolean _set, CurrentShift _txt)
{
InventParameters InventParameters;
;
InventParameters = InventParameters::find();
if(_set)
{
tmp_curshift = _txt;
return _txt; }
else
{
if(!tmp_curshift)
return InventParameters.CurrentShift;
else
return tmp_curshift;
}
}
где tmp_curshift объявлена в ClassDeclaration
О каком ClassDeclaration идет речь? Ведь я пишу edit метод на таблице?
Или я чего-то не понимаю?