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

Class: PMO_Controller

Source Location: /fichiers/v0.15/PMO_core/PMO_Controller.php

Interface Overview


This interface defines the methods a class must implement to provide a working controller class that will be able to query the data and return a PMO_MyMap map of objects.


Author(s):

Methods



Class Details

[line 48]
This interface defines the methods a class must implement to provide a working controller class that will be able to query the data and return a PMO_MyMap map of objects.



Tags:



[ Top ]


Class Methods


method getMapObjects [line 56]

PMO_Map getMapObjects( )

Return map of objects already loaded through query()



Tags:

throws:  Exception
access:  public


[ Top ]

method objectquery [line 73]

void objectquery( PMO_Request $request)

Execute a PMO_Request query



Tags:

access:  public


Parameters:

object   $request   a PMO_Request object

[ Top ]

method query [line 83]

PMO_Map query( string $query)

Execute an sql query and return the corresponding PMO_Map fill with PMO_Object



Tags:

throws:  Exception
access:  public


Parameters:

string   $query   the query to execute

[ Top ]

method queryAll [line 94]

PMO_Map queryAll( PMO_Table $table)

Should not be use return all tuples of one table equivalent : SELECT * table;



Tags:

throws:  Exception
access:  public


Parameters:

object   $table   a PMO_Table object

[ Top ]

method rawquery [line 66]

object|resource rawquery( string $query)

Execute an sql query without treatment



Tags:

return:  the method must return either a PDO object or a DBMS resource link, depending on the selected driver
access:  public


Parameters:

string   $query   the query to execute

[ Top ]


Documentation generated on Wed, 15 Oct 2008 09:15:34 -0400 by phpDocumentor 1.4.1