param() public static method

..
public static param ( array | phpQuery $data )
$data array | phpQuery
Beispiel #1
0
 /**
  * Enter description here...
  *
  * @link http://docs.jquery.com/Ajax/serialize
  * @return string
  */
 public function serialize()
 {
     return phpQuery::param($this->serializeArray());
 }
Beispiel #2
0
 /**
  * Enter description here...
  *
  * @link http://docs.jquery.com/Ajax/serialize
  * @return string
  */
 public function serialize()
 {
     $serialized = $this->serializeArray();
     $params = array();
     foreach ($serialized as $field) {
         $params[$field['name']] = $field['value'];
     }
     return phpQuery::param($params);
 }