summaryrefslogtreecommitdiff
path: root/framework/Web/UI
diff options
context:
space:
mode:
Diffstat (limited to 'framework/Web/UI')
-rw-r--r--framework/Web/UI/ActiveControls/TActiveListControlAdapter.php2
-rw-r--r--framework/Web/UI/WebControls/TListControl.php10
2 files changed, 6 insertions, 6 deletions
diff --git a/framework/Web/UI/ActiveControls/TActiveListControlAdapter.php b/framework/Web/UI/ActiveControls/TActiveListControlAdapter.php
index 592c4c14..e6f3759a 100644
--- a/framework/Web/UI/ActiveControls/TActiveListControlAdapter.php
+++ b/framework/Web/UI/ActiveControls/TActiveListControlAdapter.php
@@ -27,7 +27,7 @@ Prado::using('System.Web.UI.WebControls.TListControl');
* @package System.Web.UI.ActiveControls
* @since 3.0
*/
-class TActiveListControlAdapter extends TActiveControlAdapter implements IListControlAdaptee
+class TActiveListControlAdapter extends TActiveControlAdapter implements IListControlAdapter
{
/**
* @return boolean true if can update client-side attributes.
diff --git a/framework/Web/UI/WebControls/TListControl.php b/framework/Web/UI/WebControls/TListControl.php
index b070f26b..bd883590 100644
--- a/framework/Web/UI/WebControls/TListControl.php
+++ b/framework/Web/UI/WebControls/TListControl.php
@@ -436,7 +436,7 @@ abstract class TListControl extends TDataBoundControl
throw new TInvalidDataValueException('listcontrol_selectedindex_invalid',get_class($this),$index);
}
$this->_cachedSelectedIndex=$index;
- if($this->getAdapter() instanceof IListControlAdaptee)
+ if($this->getAdapter() instanceof IListControlAdapter)
$this->getAdapter()->setSelectedIndex($index);
}
@@ -472,7 +472,7 @@ abstract class TListControl extends TDataBoundControl
}
}
- if($this->getAdapter() instanceof IListControlAdaptee)
+ if($this->getAdapter() instanceof IListControlAdapter)
$this->getAdapter()->setSelectedIndices($indices);
}
@@ -517,7 +517,7 @@ abstract class TListControl extends TDataBoundControl
throw new TInvalidDataValueException('listcontrol_selectedvalue_invalid',get_class($this),$value);
}
$this->_cachedSelectedValue=$value;
- if($this->getAdapter() instanceof IListControlAdaptee)
+ if($this->getAdapter() instanceof IListControlAdapter)
$this->getAdapter()->setSelectedValue($value);
}
@@ -559,7 +559,7 @@ abstract class TListControl extends TDataBoundControl
}
}
- if($this->getAdapter() instanceof IListControlAdaptee)
+ if($this->getAdapter() instanceof IListControlAdapter)
$this->getAdapter()->setSelectedValues($values);
}
@@ -590,7 +590,7 @@ abstract class TListControl extends TDataBoundControl
$item->setSelected(false);
}
- if($this->getAdapter() instanceof IListControlAdaptee)
+ if($this->getAdapter() instanceof IListControlAdapter)
$this->getAdapter()->clearSelection();
}