SJS PHP Class: Release 1.0


 
Thread Tools Search this Thread
Special Forums News, Links, Events and Announcements Software Releases - RSS News SJS PHP Class: Release 1.0
# 1  
Old 10-13-2008
SJS PHP Class: Release 1.0

This is a PHP5 class that secure your JavaScript and CSS code by adding a token wich is hold in a session variable. I hope you like it an leave some messages there. Featurewishes are welcome,and bugs will be fixed. Smoki
ImageImage

More...
Login or Register to Ask a Question

Previous Thread | Next Thread

4 More Discussions You Might Find Interesting

1. Programming

C++ : Base class member function not accessible from derived class

Hello All, I am a learner in C++. I was testing my inheritance knowledge with following piece of code. #include <iostream> using namespace std; class base { public : void display() { cout << "In base display()" << endl; } void display(int k) {... (2 Replies)
Discussion started by: anand.shah
2 Replies

2. Programming

Size of Derived class, upon virtual base class inheritance

I have the two class definition as follows. class A { public: int a; }; class B : virtual public A{ }; The size of class A is shown as 4, and size of class B is shown as 16. Why is this effect ?. (2 Replies)
Discussion started by: techmonk
2 Replies

3. UNIX for Advanced & Expert Users

Get pointer for existing device class (struct class) in Linux kernel module

Hi all! I am trying to register a device in an existing device class, but I am having trouble getting the pointer to an existing class. I can create a class in a module, get the pointer to it and then use it to register the device with: *cl = class_create(THIS_MODULE, className);... (0 Replies)
Discussion started by: hdaniel@ualg.pt
0 Replies

4. Shell Programming and Scripting

php class

I was hoping you could help me out? Is it possible to add the ability to choose multiple directions to search within? I can have not figured out how to build the array with the form, something todo with in the value. Any help would be appericated. Index.php <html> <head> <title>DNS... (0 Replies)
Discussion started by: mrlayance
0 Replies
Login or Register to Ask a Question
Jifty::Plugin::Chart::Web(3pm)				User Contributed Perl Documentation			    Jifty::Plugin::Chart::Web(3pm)

NAME
Jifty::Plugin::Chart::Web - Base class to add to Jifty::Web's ISA DESCRIPTION
When the Jifty::Plugin::Chart is loaded, this class is added as a base class for Jifty::Web to add the "chart" method to that class. METHODS
chart Jifty->web->out(Jifty->web->chart(%args)); The arguments passed in %args may include: type This will be one of the following scalar values indicating the kind of chart. A given renderer may not support every type listed here. A renderer might support others in addition to these, but if it supports these it should use these names. points This is the default value. A scatter plot with each dataset represented using differnet dot styles. lines A line plot with each dataset presented as separate line. bars A bar chart with each dataset set side-by-side. stackedbars A bar chart with each dataset stacked on top of each other. pie A pie chart with a single dataset representing the values for different pieces of the pie. horizontalbars A bar chart turned sideways. area An area chart uses lines to represent each dataset, but the lines are stacked on top of each other with filled areas underneath. width This is the width the chart should take when rendered. This may be a number, indicating the width in pixels. It may also be any value that would be appropriate for the "width" CSS property. Defaults to "undef", which indicates that the chart will take on whatever size the box it is in will be. See "CSS FOR CHARTS". height This is the height the chart should take when rendered. This may be a number, indicating the height in pixels. It may also be any value that would be appropriate for the "height" CSS property. Defaults to "undef", which indicates that the chart will take on whatever size the box it is in will be. See "CSS FOR CHARTS". data An array of arrays containing the data. The first array in the parent array is a list of labels. Each following array is the set of data points matching each label in the first array. Defaults to no data (i.e., it must be given if anything useful is to happen). class This allows you to associated an additional class or classes to the element containing the chart. This can be a string containing on or more class names separated by spaces or an array of class names. renderer This allows you to use a different renderer than the one configured in config.yml. Give the renderer as a class name, which will be initialized for you. options This is a hash containing additional options to pass to the renderer and are renderer specific. This may include anything that is not otherwise set by one of the other options above. Here's an example: <% Jifty->web->chart( type => 'Pie', width => '100%', height => '300px', data => sub { [ [ 2004, 2005, 2006, 2007 ], [ 26, 37, 12, 42 ] ]; }, class => 'visualizeronimicon', ) %> Be sure to output anything returned by the method (unless it returns undef). CSS FOR CHARTS
The chart API allows you to build the charts without explicit pixel widths and heights. In fact, you can not specify "width" and "height" and perform the styling in your regular CSS stylesheets by using the "chart" class associated with every chart or by using custom classes with the "class" argument. See your renderer class documentation for further details. JAVASCRIPT FOR CHARTS
Charts typically require JavaScript to render properly. If the client does not have JavaScript available, the chart may not work or could look very bad. If you are using one of the image based renderers like Jifty::Plugin::Chart::Renderer::Chart, it is recommended that you stick with pixel widths if you expect clients with limited or no JavaScript support. SEE ALSO
Jifty::Plugin::Chart, Jifty::Plugin::Chart::Renderer AUTHOR
Andrew Sterling Hanenkamp "<andrew.hanenkamp@boomer.com>" COPYRIGHT AND LICENSE
Copyright 2007 Boomer Consulting, Inc. This is free software and may be modified and distributed under the same terms as Perl itself. perl v5.12.4 2009-03-09 Jifty::Plugin::Chart::Web(3pm)