You are here

function _ed_classified_node_is_classified in Classified Ads 7.2

Same name and namespace in other branches
  1. 5.2 ed_classified_utils.inc \_ed_classified_node_is_classified()
  2. 5 ed_classified_utils.inc \_ed_classified_node_is_classified()
  3. 6.2 ed_classified_utils.inc \_ed_classified_node_is_classified()

Is a node really a classified ad?

3 calls to _ed_classified_node_is_classified()
ed_classified_link in ./ed_classified.module
Implementation of hook_link().
ed_classified_link_alter in ./ed_classified.module
Implementation of hook_link_alter (&$links, $node) Find and destroy old taxonomy links for the classified ads node. This will create links to the custom classified ads taxonomy view. This would be easier if the hook callback knew what module was…
_ed_classified_delete in ./ed_classified_delete.inc
Reimplement the node_delete code, because the code in node_delete performs an access check for node deletion rights This can be made more efficient, if needed.

File

./ed_classified_utils.inc, line 94
Simple text-based classified ads module. Michael Curry, Exodus Development, Inc. exodusdev@gmail.com for more information, please visit http://exodusdev.com/drupal/modules/classified.module Copyright (c) 2006, 2007 Exodus Development, Inc. All Rights…

Code

function _ed_classified_node_is_classified($node) {
  return EDI_CLASSIFIED_MODULE_NAME == $node->type;
}