예제 #1
0
 /**
  *
  */
 protected function toFormUrl()
 {
     $formUrlCodec = new FormUrlCodec();
     return $formUrlCodec->encode($this);
 }
예제 #2
0
 /**
  * Encodes an object as a Form URL encoded string.
  *
  * @param $object
  *      the object to be represented as a Form URL encoded string.
  *
  * @return string
  *      a string containing the Form URL representation of the object.
  */
 private static function formUrlEncode($object)
 {
     return FormUrlCodec::encode($object);
 }