protected TextItem_Save ( $strFormId, $strControlId, $strParameter ) |
protected function TextItem_Save($strFormId, $strControlId, $strParameter)
{
$strValue = trim($this->txtArray[$strParameter]->Text);
if (strlen($strValue)) {
// Copy the Textbox value back to the Label
$this->lblArray[$strParameter]->Text = $strValue;
}
// Hide the Textbox, get the label cleaned up and ready to go
$this->lblArray[$strParameter]->Visible = true;
$this->txtArray[$strParameter]->Visible = false;
$this->lblArray[$strParameter]->Selected = false;
$this->lblArray[$strParameter]->CssClass = 'renamer_item';
}