Lambda-lib
[ class tree: Lambda-lib ] [ index: Lambda-lib ] [ all elements ]

Class: Javascript

Source Location: /libs/Javascript.php

Class Overview


ジャバスクリプト Class


Author(s):

  • rooth

Version:

  • 0.0.1

    PHP version 5

Variables

Methods



Class Details

[line 12]
ジャバスクリプト Class



Tags:

author:  rooth
version:  

0.0.1

PHP version 5



[ Top ]


Class Variables

static $charset =  'utf-8'

[line 14]



Tags:

access:  protected

Type:   mixed


[ Top ]



Class Methods


static method backHistory [line 43]

static void backHistory( [ $msg = ''], [ $bgcolor = '#cccccc'])

history.back();



Tags:

access:  public


Parameters:

   $msg  
   $bgcolor  

[ Top ]

static method backReferer [line 57]

static void backReferer( [ $msg = ''], [ $param = ''], [ $bgcolor = '#cccccc'])

window.location = document.referrer+'{$param}';



Tags:

access:  public


Parameters:

   $msg  
   $param  
   $bgcolor  

[ Top ]

static method getCharset [line 20]

static void getCharset( )



Tags:

access:  public


[ Top ]

static method jsonEncode [line 73]

static void jsonEncode( $arr)

json_encode

SPEC: 一次元配列のみ




Tags:

access:  public


Parameters:

Array   $arr  

[ Top ]

static method redirect [line 28]

static void redirect( $href, [ $msg = ''], [ $bgcolor = '#cccccc'])

location.href='{$href}';



Tags:

access:  public


Parameters:

   $href  
   $msg  
   $bgcolor  

[ Top ]

static method setCharset [line 16]

static void setCharset( $charset)



Tags:

access:  public


Parameters:

   $charset  

[ Top ]

static method toArray [line 97]

static void toArray( $arr)

toArray

phpの配列をjsの配列に変換する

SPEC: 一次元配列のみ




Tags:

access:  public


Parameters:

Array   $arr  

[ Top ]


Documentation generated on Sat, 21 May 2011 18:34:07 +0900 by phpDocumentor 1.4.1