[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Commit has been done



Well - I have committed the major code additions I've been working on.  We
have one mammoth of a functions.php3 include now :).

Dan - the article object is FULLY working.  You can use it til your heart
is content.  Some of the header/comment info at the top of the object code
is wrong, don't pay attention to it.  Mainly in reference to the author &
externallink stuff.  You'll navigate the author and external link list
just as in examples available in categories.php3.  You will add articles
just as we had discussed... except to add an author or an external link to
an article, simply do the following:

$new_article = new article;

... assign all your article properties such as problemdes, etc ...

$new_article->attach_child("11");

The "11" must be a valid object id in KBObjects.  The article object will
verify that it is a valid child type and make a child of it.

Thats it.

I'll mail you an example I have that I used for some testing.

Micah - 

If you'd like to begin creating a user object modelled after the article
object go ahead.  You won't have to worry about children or anything,
since as of now a user object can have no valid children.

I have ton more I need to do now... here's my current priorities:
 
#1 - Get simple/advanced search pages pages integrated
#2 - Get authentication based off "location" rather than RoleID
#3 - Finish php objects for other object types in DB
#4 - continue development of user screens

If anyone else has anything I need to look at please grab me.

Jason