You cannot post messages because only members can post, and you are not currently a member.
Description:
This is the official Group for the Php Object Generator project. This is where you can ask for help, support and advice from the authors of POG as well as other end users.
|
|
|
General guidelines for reporting bugs
|
| |
Please follow the guidelines below to help us identify and solve your issue(s) as fast as possible: 1. Whenever possible, please include the @link for all the objects that are causing the issue(s). (More information about @link:[link])... more »
|
|
Is this a bug?
|
| |
This post will summarize the behaviors that the first time POG user may find confusing. These are behaviors that we know about, and which we made a conscious decision to implement, either to get around some PHP limitations, or because we couldn't think of a better way. In brief, this post is intended to offer a quick way to confirm whether you've... more »
|
|
Fatal error: Using $this when not in object context in ...
|
| |
$lstSources = Source::GetDocumentList();
for ($i = 0; $i < sizeof($lstSources); $i++)
{
$source = $lstSources[$i];
...
...
--------
Hi all,
I have a beginner question -- given that a Source has many
Document(s), and that I've set up POG & databases correctly... why am
I getting the error:... more »
|
|
Problem with Base64 plugin
|
| |
Hi there,
I've just posted a new website for a client, and ran into a bit of a
snag: I'd written the application in PHP5, but the client's hosting
company is still on PHP4! Bastards! Anyway, I thought 'no problem',
and regenerated all the objects to go with PHP4. Of course, as we know
I can no longer run the application on my dev machine running PHP5. I... more »
|
|
FetchObject/Database bug?
|
| |
Heyas Joel, just wondering - this looks like a bug to me, but
obviously you'll know better. in the POG base class, FetchObjects/
CreateObjects appears to be expecting the database query to return a
valid mysql_result, but it is returning the number of rows instead. I
get an error every time I use it.... more »
|
|
POG Object Oriented Bug
|
| |
Bleh, smaller version after google lost my first post:
It appears that a parent object in POG does not require_once the class
file for any child objects. This can result in runtime errors when
using Delete(true) and probably other functions if the client code has
not already included the child class file. This seems incorrect to... more »
|
|
Newbie question - more than one object
|
| |
Just starting out with POG. I used the zip file to successfully create
an app using one table/object.
I have questions concerning use of multiple objects. when you use the
POG form to build the objects, do you download the zip package for the
first object and then create individual class files for the additional... more »
|
|
Multiple sort conditions
|
| |
Hi,
first of all thanks a lot for POG! It's an amazing time-saver!
I have one wish for the next Version:
$myObj->GetList();
should take an array for $sortBy... like:
$myObj->GetList(null, array('sort' => true, 'objid' => false));
where true/false means ascending and descending.
Or is this a larger problem?... more »
|
|
Object Code Syntax Question
|
| |
In my first attempt with PHP objects I set up an Album and a Image
Class. I defined image as a "Child" attribute of the Album Class and
Album as a "Parent" of the image class.
In examining the generated code for Album, I noted passed function
variables with an "&" prefix such as:
function SetImageList(&$list)... more »
|
|
3 functions for easier pog operations
|
| |
Hi folks,
with this 3 functions its very easy to do the simple pog operations,
what you need to do is to name the tablefields in the Database similar
to the formfields. I have this code in my submit.php, for security
reasons i allow only files on my domain to execute the submit.php
function pog_new($object,$exclude_array ){... more »
|
|
Object Casting in PHP
|
| |
Hi,
I am newbie and recently I started working on PHP.
Problem description:
I have one class called Employee and it has one property called
Salary. I am developing a web service using nuSOAP libarary which will
expose a method to get employee details, i.e. GetEmployeeDetails. This
web method should return object of Employee type.... more »
|
|
how to query records where today - date field <= 3 days
|
| |
I need to select records based on a datetime field. I need just the
last 3 days' records.
Is this possible in a POG search?
I saw a discussion in which it was suggested to use an int for dates,
but it would complicate my life quite a bit to change this field type.
I have discovered how to do the search if I was doing a normal SQL... more »
|
|
|