Quoting James Gilliland <[email protected]>:
Drupal Law 0: If you need to do something, make an API for it first.
print t('Hello World');
Oh wait I should create an API to do it first.
function print_hello_world() {
print t('Hello World');
}
print_hello_world();
Oh wait I should create an API to do it first.
function execute_print_hello_world() {
print_hello_world();
}
execute_print_hello_world();
Oh wait I should create an API to do it first.
...
Endless cycle. I think you need a better descriptor than
``something'' before you make an API.
--
Earnie
-- http://r-feed.com/ -- http://for-my-kids.com/
-- http://www.4offer.biz/ -- http://give-me-an-offer.com/