[Solar-talk] thanks with SQL & layout question
Richard Harding
rick at ricksweb.info
Wed Jul 27 10:02:27 PDT 2005
First I switched over the work I was doing from Smarty to Savant and the
speed increase is very nice. I also saw that you had posted a comment of
mine over on this list about dynamic table generation. I added some code
to pull the array_keys to use a TH titles for the columns and it worked
out. Thanks
http://six.pairlist.net/pipermail/savant-talk/2005-July/000939.html
My next step is to give up the adodb-lite I'm using for testing and try
out the sql code in Solar. I am wonder if there is any documentation or
sample setup/usage? I see that it seems the extedning the SQL_Entity
object seems to do a lot of neat things and I'm hoping to ease the code
blur I'm starting to get.
My other question is that I'm trying to reoganize the files a bit and to
use the Solar::Object method, but I can't get it to work for some
reason. It says it can't find the file, but it's there. I have in the
models folder the ElectEvaluationBO.php file. I am trying to get an
instance of the object like so:
$eval = Solar::object('models_ElectEvaluationBO');
Am I missing something I'm just blind to?
The error is coming back:
array(8) {
["class"] => string(5) "Solar"
["code"] => string(19) "ERR_LOADCLASS_EXIST"
["text"] => string(35) "Class does not exist in loaded file"
["info"] => array(2) {
["class"] => string(24) "models_ElectEvaluationBO"
["file"] => string(28) "models\ElectEvaluationBO.php"
}
["level"] => int(256)
["class::code"] => string(26) "Solar::ERR_LOADCLASS_EXIST"
["trace"] => array(7) {
[0] => array(6) {
["file"] => string(48) "c:\development\elect_evaluations\trunk\Solar.php"
["line"] => int(737)
["function"] => string(4) "push"
["class"] => string(11) "Solar_Error"
["type"] => string(2) "->"
["args"] => array(6) {
[0] => &string(5) "Solar"
[1] => &string(19) "ERR_LOADCLASS_EXIST"
[2] => &string(35) "Class does not exist in loaded file"
[3] => &array(2) {
["class"] => string(24) "models_ElectEvaluationBO"
["file"] => string(28) "models\ElectEvaluationBO.php"
}
[4] => &int(256)
[5] => &NULL
}
}
Thanks
Rick
More information about the solar-talk
mailing list