Adjective added to web

This commit is contained in:
vladislav.khorev committed 2014-12-09 12:30:16 +00:00
1 parent a32b08cbf1
commit 418ceea507
5 files changed
+147 -13

No files matched your search

+2 -2
View File
@@ -52,12 +52,12 @@ class DictionaryForm extends CFormModel
public function resultExists()
{
return ($this->serverIsWorking) && ($this->response) && ($this->response['nouns'] !== "");
return ($this->serverIsWorking) && ($this->response) && ($this->response['words'] !== "");
}
public function getDataProvider()
{
$dataProvider=new CArrayDataProvider($this->response['nouns'], array(
$dataProvider=new CArrayDataProvider($this->response['words'], array(
'id'=>'dictionaryResultDataProvider',
'pagination'=>array(
'pageSize'=>10,