nodeapi_example.module

Wersja 1.7 (checked in on 2007/10/05 at 18:12:12 by drewish)

This is an example outlining how a module can be used to extend existing content types.

We will add the ability for each node to have a "rating," which will be a number from one to five.

Funkcje

NazwaOpis
nodeapi_example_form_alterImplementation of hook_form_alter().
nodeapi_example_nodeapiImplementation of hook_nodeapi().
nodeapi_example_themeImplementation of hook_theme().
theme_nodeapi_example_ratingA custom theme function.Niestandardowa funkcja themująca.

Dodaj nową odpowiedź

  • Adresy internetowe są automatycznie zamieniane w odnośniki, które można kliknąć.
  • Dozwolone znaczniki HTML: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Znaki końca linii i akapitu dodawane są automatycznie.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.

Więcej informacji na temat formatowania

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.