Admun's NUDN

admun

  • San Francisco, CA

Navigation

Navigation

Categories

Search

The Need for supportsFeature

The question of why we should add supportsFeature in a plugin is first saw here.

more...

13:26:44 on 06/22/04 by Admun - Developer Notes - tags: none - #

Mr Data Goes to Town

So often a plugin need to track information in variables, I'm talking about data that is persistent through out the life of the plugin. This allow data to be passed from event to event, for example.

more...

22:32:34 on 06/20/04 by Admun - Developer Notes - tags: none - #

Having a getMinNucleusVersion

In the plugin API, there is a getMinNucleusVersion function that helps a plugin to report to Nucleus that the minimum Nucleus version it supports. This is a way to ensure a plugin is not install on a old Nucleus setup that certain support is missing. ie user defined table prefix

more...

11:15:13 on 06/15/04 by Admun - Developer Notes - tags: none - #

The Creation of permalink

I saw it sometimes when a plugin writer directly construct a permalink (also called item link) by doing this:

...
...
echo "<a href=\"index.php?itemid=".$itemid."\">".$title."</a>";
... ...

more...

11:55:56 on 06/14/04 by Admun - Developer Notes - tags: none - #

Why sql_table...

Since Nucleus 2.5, sql_table() is introduced to construct the name of table name.

ie. sql_table('item') yields nucleus_item in a normal setup.

So, why a plugin should use this function to determine the table name, you ask?

I say, simple.

more...

23:54:22 on 06/08/04 by Admun - Developer Notes - tags: none - #
<=   June 2004   =>
SunMonTueWedThuFriSat
  12345
6789101112
13141516171819
20212223242526
27282930