Esempio n. 1
0
 /**
  * Get Actor value
  * @param  [JParameter] $params [description]
  * @return [array]         [description]
  */
 public static function getActor($params)
 {
     $users = $params->get('actors');
     //some are store in array
     if (is_array($users)) {
         return $users;
         //since 3.3 array already sorted from latest at the front
     }
     return array_reverse(explode(',', $users));
 }
Esempio n. 2
0
 /**
  * Get Actor value
  * @param  [JParameter] $params [description]
  * @return [array]         [description]
  */
 public static function getActor($params)
 {
     $users = $params->get('actors');
     return array_reverse(explode(',', $users));
 }