summaryrefslogtreecommitdiff
path: root/includes/lookup_pigeonholes_inc.php
diff options
context:
space:
mode:
authormodela bitweaver <spiderr@bitweaver.org>2021-04-15 11:59:06 -0400
committermodela bitweaver <spiderr@bitweaver.org>2021-04-15 11:59:06 -0400
commitb8fad2e75324458572d8a96fa7b119b5175fa6fe (patch)
tree80e8fb7d5de9b05ccf3472e98cd17527b7806da9 /includes/lookup_pigeonholes_inc.php
parentbe4f9df167041e802f49863683d8b94a21b06128 (diff)
downloadpigeonholes-b8fad2e75324458572d8a96fa7b119b5175fa6fe.tar.gz
pigeonholes-b8fad2e75324458572d8a96fa7b119b5175fa6fe.tar.bz2
pigeonholes-b8fad2e75324458572d8a96fa7b119b5175fa6fe.zip
clean up for includes/ reorg
Diffstat (limited to 'includes/lookup_pigeonholes_inc.php')
-rw-r--r--includes/lookup_pigeonholes_inc.php23
1 files changed, 23 insertions, 0 deletions
diff --git a/includes/lookup_pigeonholes_inc.php b/includes/lookup_pigeonholes_inc.php
new file mode 100644
index 0000000..fcd4b4b
--- /dev/null
+++ b/includes/lookup_pigeonholes_inc.php
@@ -0,0 +1,23 @@
+<?php
+/**
+ * Provide a list of pigenoholes
+ *
+ * @package pigeonholes
+ * @subpackage functions
+ * @version $Header$
+ *
+ * Copyright ( c ) 2005 bitweaver.org
+ * All Rights Reserved. See below for details and a complete list of authors.
+ * Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See http://www.gnu.org/copyleft/lesser.html for details
+ */
+
+/**
+ * Required Files
+ */
+// include service functions
+require_once( PIGEONHOLES_PKG_CLASS_PATH.'Pigeonholes.php' );
+
+$gContent = new Pigeonholes( ( !empty( $_REQUEST['structure_id'] ) ? $_REQUEST['structure_id'] : NULL ), ( !empty( $_REQUEST['content_id'] ) ? $_REQUEST['content_id'] : NULL ) );
+$gContent->load( TRUE );
+$gBitSmarty->assignByRef( 'gContent', $gContent );
+?>