Последняя версия с сервера прошлого разработчика
This commit is contained in:
13
app/Support/helpers.php
Executable file
13
app/Support/helpers.php
Executable file
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
|
||||
|
||||
|
||||
|
||||
function get_cursor_hash($collectionWithPagination)
|
||||
{
|
||||
if($collectionWithPagination->hasMorePages()){
|
||||
return @explode('cursor=', $collectionWithPagination->nextPageUrl())[1];
|
||||
}else{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user