HTML_Javascript
[ class tree: HTML_Javascript ] [ index: HTML_Javascript ] [ all elements ]

File: Convert.php

Source Location: /HTML_Javascript-1.1.2/Javascript/Convert.php

Classes:

HTML_Javascript_Convert
PHP to Javascript conversion classes

Page Details:

A class for converting PHP variables into JavaScript variables

Usage example:

  1.  $js = new HTML_Javascript_Convert()
  2.  $a = array('foo','bar','buz',1,2,3);
  3.  $b $js->convertVar($a'arr'true);
or

  • Author: Tal Peer <tal@php.net>
  • Author: Pierre-Alain Joye <paj@pearfr.org>
  • Version: 1.1.1
  • Access: public
  • Example: example not found

HTML_JAVASCRIPT_CONVERT_ERROR_INVVAR [line 47]

HTML_JAVASCRIPT_CONVERT_ERROR_INVVAR = 502,true
Invalid variable error

[ Top ]



HTML_JAVASCRIPT_NL [line 54]

HTML_JAVASCRIPT_NL = "\n"
Linefeed to use, default set to Unix linefeed.

Define it before the include/require if you want to override it.


[ Top ]



Documentation generated on Mon, 11 Mar 2019 15:34:45 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.