You are here

protected function Bakery::serialize in Bakery Single Sign-On System 7.3

Serialize an array.

Parameters

array $data Array to be serialized.:

Return value

string Serialized data.

1 call to Bakery::serialize()
Bakery::bakeData in ./bakery.inc
Serialze, sign and encode data for secure transport.

File

./bakery.inc, line 327

Class

Bakery

Code

protected function serialize($data) {

  // @todo figure out how to get JSON encoding to work, it current decodes
  // as NULL
  return serialize($data);
}