phpMv -UI toolkit 2.4.12
jQuery, jQuery UI, Twitter Bootstrap and Semantic-UI library for php & php MVC Frameworks
Loading...
Searching...
No Matches
JArray Class Reference

Static Public Member Functions

static isAssociative ($array)
 
static getValue ($array, $key, $pos)
 
static getConditionalValue ($array, $key, $condition)
 
static getDefaultValue ($array, $key, $default=NULL)
 
static implode ($glue, $pieces)
 
static dimension ($array)
 
static sortAssociative ($array, $sortedKeys=array())
 
static moveElementTo (&$array, $from, $to)
 
static swapElements (&$array, $index1, $index2)
 
static modelArray ($objects, $identifierFunction=NULL, $modelFunction=NULL)
 
static count ($array)
 
static removeByKeys ($array, $keys)
 

Static Private Member Functions

static callFunction ($object, $callback)
 

Detailed Description

Definition at line 4 of file JArray.php.

Member Function Documentation

◆ callFunction()

static callFunction (   $object,
  $callback 
)
staticprivate

Definition at line 118 of file JArray.php.

◆ count()

static count (   $array)
static

Definition at line 129 of file JArray.php.

◆ dimension()

static dimension (   $array)
static

Definition at line 57 of file JArray.php.

◆ getConditionalValue()

static getConditionalValue (   $array,
  $key,
  $condition 
)
static

Definition at line 19 of file JArray.php.

◆ getDefaultValue()

static getDefaultValue (   $array,
  $key,
  $default = NULL 
)
static

Definition at line 34 of file JArray.php.

◆ getValue()

static getValue (   $array,
  $key,
  $pos 
)
static

Definition at line 10 of file JArray.php.

◆ implode()

static implode (   $glue,
  $pieces 
)
static

Definition at line 41 of file JArray.php.

◆ isAssociative()

static isAssociative (   $array)
static

Definition at line 6 of file JArray.php.

◆ modelArray()

static modelArray (   $objects,
  $identifierFunction = NULL,
  $modelFunction = NULL 
)
static

Definition at line 101 of file JArray.php.

◆ moveElementTo()

static moveElementTo ( $array,
  $from,
  $to 
)
static

Definition at line 76 of file JArray.php.

◆ removeByKeys()

static removeByKeys (   $array,
  $keys 
)
static

Definition at line 136 of file JArray.php.

◆ sortAssociative()

static sortAssociative (   $array,
  $sortedKeys = array() 
)
static

Definition at line 66 of file JArray.php.

◆ swapElements()

static swapElements ( $array,
  $index1,
  $index2 
)
static

Definition at line 88 of file JArray.php.


The documentation for this class was generated from the following file: