Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2005-10-19 02:33:48

zem
Developer Emeritus
From: Melbourne, Australia
Registered: 2004-04-08
Posts: 2,579

Some new files of note in the Crockery branch

I’ve mentioned the first of these before in passing:

/development/crockery/textpattern/lib/classMarkup.php, and
/development/crockery/textpattern/lib/txplib_xml.php

Both ought to be of interest to plugin developers and 4.1 feature trainspotters.

Oh, and this:

/development/crockery/textpattern/lib/mdb.php

..was added for Postgres support, but could be useful for other things also.


Alex

Offline

#2 2005-10-19 06:18:59

wet
Developer Emeritus
From: Schoerfling, Austria
Registered: 2005-06-06
Posts: 3,330
Website Mastodon

Re: Some new files of note in the Crockery branch

As I am no PHP programmer at all but still trying to learn: How does this work?

<notextile>
<code><pre>
89 function safe_insert_rec($table, $rec, $debug=’‘)
—————————————————————-^
90 {
91 global $DB;
92 return db_insert(PFX.$table, $set );
——————————————————————————-^
93 }
</pre></code>
</notextile>

Does PHP feature a concept similar to C’s unions?

//w&

Offline

#3 2005-10-19 06:36:56

zem
Developer Emeritus
From: Melbourne, Australia
Registered: 2004-04-08
Posts: 2,579

Re: Some new files of note in the Crockery branch

Does PHP feature a concept similar to C’s unions?

Er.. it features a concept similar to C’s bonehead programmers who forget to test their code.

Ah, I fixed it in the next rev.


Alex

Offline

Board footer

Powered by FluxBB