Skip to content

Commit

Permalink
Copy elements
Browse files Browse the repository at this point in the history
  • Loading branch information
skeeks-semenov committed Apr 24, 2018
1 parent 3b08f36 commit 3ee25e5
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
10 changes: 8 additions & 2 deletions src/models/Core.php
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,10 @@ public function rules()
public function __toString() {
return $this->asText();
}


/**
* @return string
*/
public function asText()
{
$result = [];
Expand All @@ -138,7 +141,10 @@ public function asText()

return implode("#", $result);
}


/**
* @return string
*/
public function asHtml()
{
return $this->asText();
Expand Down
4 changes: 2 additions & 2 deletions src/widgets/GridView.php
Original file line number Diff line number Diff line change
Expand Up @@ -110,12 +110,12 @@ public function behaviors()
],
],
],
'paginationConfig' => [
/*'paginationConfig' => [
'class' => FieldSet::class,
'name' => \Yii::t('skeeks/cms', 'Pagination'),
'fields' => $this->paginationConfig->builderFields(),
'model' => $this->paginationConfig,
],
],*/
],
'attributeDefines' => [
'visibleColumns',
Expand Down

0 comments on commit 3ee25e5

Please sign in to comment.