Class Socialveo\Core\helpers\UsersHelper

InheritanceSocialveo\Core\helpers\UsersHelper

Class UsersHelper

Public Methods

Hide inherited methods

MethodDescriptionDefined By
getLanguageCode() Get valid language code from string Socialveo\Core\helpers\UsersHelper
searchFollowingsPagination() Search followings pagination Socialveo\Core\helpers\UsersHelper
searchPagination() Users scroll pagination Socialveo\Core\helpers\UsersHelper

Method Details

getLanguageCode() public static method

Get valid language code from string

public static string getLanguageCode ( $language )
$language string
searchFollowingsPagination() public static method

Search followings pagination

public static array searchFollowingsPagination ( Socialveo\Core\models\User $user, $currentPage )
$user Socialveo\Core\models\User
$currentPage integer
searchPagination() public static method

Users scroll pagination

public static array searchPagination ( $logged, $currentPage )
$logged Socialveo\Core\models\User|null
$currentPage integer