Skip to content

Commit 4153ee1

Browse files
committed
Adding new 'show separator' method, which replaces the broken one
1 parent 0727aae commit 4153ee1

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

src/PHPPagination/Pagination.php

+14
Original file line numberDiff line numberDiff line change
@@ -311,6 +311,20 @@ public function alignRight()
311311
return $this;
312312
}
313313

314+
/**
315+
* Sets the show separator flag to true.
316+
*
317+
* Makes the separator blocks visible.
318+
*
319+
* @return PHPagination
320+
*/
321+
public function showSeparator()
322+
{
323+
$this->hide_separator = false;
324+
325+
return $this;
326+
}
327+
314328
/**
315329
* Sets the show separator flag to false.
316330
*

0 commit comments

Comments
 (0)