DrupalBin
Submit Code
About
Recent Posts
Code
2 hours 39 min
ago
Code
5 hours 52 min
ago
Fix for Code
6 hours 1 min
ago
d5, hook_comment, trying to force an input filter format
9 hours 19 min
ago
more
Tags
CCK
drupal
fapi
jquery
menu
module
Panels
php
simpletest
test
theme
views
more tags
User login
Log in using OpenID:
What is OpenID?
Username:
*
Password:
*
Create new account
Request new password
Log in using OpenID
Cancel OpenID login
Home
validation
validation_api before code sprint
July 8, 2008 - 8:41pm —
deekayen
<?php
// $Id: validation_api.module,v 1.8 2008/07/02 23:02:43 tapocol Exp $
/**
* @file
*/
define
(
'HOOK_ADD_VALIDATOR'
,
'add_validator'
)
;
/**
* Implementation of hook_form_alter().
validation
Read more
hook_nodeapi used for validation of CCK fields
May 2, 2008 - 12:21pm — Anonymous
<?php
function
sitehelper_nodeapi
(
&
$node
,
$op
,
$teaser
=
NULL
,
$page
=
NULL
)
{
if
(
$node
->
type
==
'cinfo'
)
{
switch
(
$op
)
{
case
'update'
:
break
;
CCK
hook_nodeapi
validation
Read more