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

Class: Quinoa_Processor

Source Location: /Quinoa/Processor.php

Class Overview


Quinoa Processor class Quinoa_Processor is Quinoa's business layer base class. saving and deleting methods used for generic form handling.


Author(s):

Version:

  • 0.0.21 2007-09-23

Copyright:

  • 2007

Methods



Class Details

[line 52]
Quinoa Processor class Quinoa_Processor is Quinoa's business layer base class. saving and deleting methods used for generic form handling.

Quinoa Processor class Quinoa_Processor is Quinoa's business layer base class. It has High level saving and deleting methods used for generic form handling. It also has some methods that allows for manipulation of client side scripting for interacting with the user. Quinoa_Processor is inherited by all quinoa's project Business classes. Those classes are tipically never instantiated, but used as namespaces. They are called from withing Quinoa_Page every time a form is being processed. PHP version 5.x Copyright (c) 2007, Freeconcept, Lda. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of the Freeconcept, Lda. nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.




Tags:

since:  File available since Release 0.0.1
link:  http://www.quinoaframework.org
version:  0.0.21 2007-09-23
copyright:  2007
author:  Marcello Duarte <marcello.duarte@gmail.com>


[ Top ]


Class Methods


method alert [line 60]

void alert( string $message, [array $params = array()])

Produces a javascript alert window with the message passed

Produces a javascript alert window with the message passed




Tags:

access:  public


Parameters:

string   $message  
array   $params  

[ Top ]

method back [line 90]

void back( )

Moves back in the browser's history

Moves back in the browser's history




Tags:

access:  public


[ Top ]

method delete [line 124]

void delete( )

High level deleting for generic, non validated usage

High level deleting for generic, non validated usage




Tags:

access:  public


[ Top ]

method goto [line 75]

void goto( string $context, [array $vars = array()])

Redirects the user to a new context

Redirects the user to a new context




Tags:

access:  public


Parameters:

string   $context  
array   $vars  

[ Top ]

method innerHTML [line 143]

void innerHTML( string $id, string $html)

Writes source inside a tag given its id.

Writes source inside a tag given its id.




Tags:

access:  public


Parameters:

string   $id  
string   $html  

[ Top ]

method popup [line 187]

void popup( string $windowName, string $dimension, string $url, [string $status = 'no'], [string $toolbar = 'no'], [string $menubar = 'no'], [string $location = 'no'], [string $resizable = 'yes'], [string $scrollbars = 'yes'])

Creates a popup window

Creates a popup window




Tags:

access:  public


Parameters:

string   $windowName  
string   $dimension  
string   $url  
string   $status  
string   $toolbar  
string   $menubar  
string   $location  
string   $resizable  
string   $scrollbars  

[ Top ]

method reload [line 152]

void reload( )

Reloads a page

Reloads a page




Tags:

access:  public


[ Top ]

method save [line 99]

void save( )

High level saving for generic, non validated, usage

High level saving for generic, non validated, usage




Tags:

access:  public


[ Top ]

method script [line 214]

string script( string $source)

Encapsulate scripting inside the script tag

Encapsulate scripting inside the script tag




Tags:

access:  protected


Parameters:

string   $source  

[ Top ]

method setStyle [line 163]

void setStyle( string $id, string $style)

Changes a style of a html element, given its id

Changes a style of a html element, given its id




Tags:

access:  public


Parameters:

string   $id  
string   $style  

[ Top ]


Documentation generated on Wed, 03 Oct 2007 14:25:49 +0100 by phpDocumentor 1.3.0RC3