summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormodela bitweaver <bitweaver@modela>2017-01-14 06:33:45 -0500
committermodela bitweaver <bitweaver@modela>2017-01-14 06:33:45 -0500
commit0e88bbe9ae68126834323d4fbd74bef416c01eec (patch)
treed99b4276574436529f1819ce3fa1f581067927bf
parent408a84375acb4b7ad9c4488a2fa6ab9f0d37b4db (diff)
downloadpigeonholes-0e88bbe9ae68126834323d4fbd74bef416c01eec.tar.gz
pigeonholes-0e88bbe9ae68126834323d4fbd74bef416c01eec.tar.bz2
pigeonholes-0e88bbe9ae68126834323d4fbd74bef416c01eec.zip
assign_by_ref-to-assignByRef
-rw-r--r--assign_content.php4
-rw-r--r--lookup_pigeonholes_inc.php2
-rw-r--r--view.php4
3 files changed, 5 insertions, 5 deletions
diff --git a/assign_content.php b/assign_content.php
index e2157da..9e15b47 100644
--- a/assign_content.php
+++ b/assign_content.php
@@ -24,7 +24,7 @@ $gBitSystem->verifyPermission( 'p_pigeonholes_insert_member' );
include_once( PIGEONHOLES_PKG_PATH.'lookup_pigeonholes_inc.php' );
$feedback = '';
-$gBitSmarty->assign_by_ref( 'feedback', $feedback );
+$gBitSmarty->assignByRef( 'feedback', $feedback );
$contentTypes = array( '' => tra( 'All Content' ) );
foreach( $gLibertySystem->mContentTypes as $cType ) {
@@ -101,7 +101,7 @@ if(( !empty( $_REQUEST['insert_content'] ) || !empty( $_REQUEST['insert_content_
$assignableContent = $gContent->getAssignableContent( $listHash );
}
-$gBitSmarty->assign_by_ref( 'listInfo', $listHash['listInfo'] );
+$gBitSmarty->assignByRef( 'listInfo', $listHash['listInfo'] );
$listHash = array(
'load_only_root' => TRUE,
diff --git a/lookup_pigeonholes_inc.php b/lookup_pigeonholes_inc.php
index 095d1d7..62ce442 100644
--- a/lookup_pigeonholes_inc.php
+++ b/lookup_pigeonholes_inc.php
@@ -16,5 +16,5 @@
*/
$gContent = new Pigeonholes( ( !empty( $_REQUEST['structure_id'] ) ? $_REQUEST['structure_id'] : NULL ), ( !empty( $_REQUEST['content_id'] ) ? $_REQUEST['content_id'] : NULL ) );
$gContent->load( TRUE );
-$gBitSmarty->assign_by_ref( 'gContent', $gContent );
+$gBitSmarty->assignByRef( 'gContent', $gContent );
?>
diff --git a/view.php b/view.php
index 0089e22..0158937 100644
--- a/view.php
+++ b/view.php
@@ -28,7 +28,7 @@ if (isset($_REQUEST['structure_id'])) {
header("Location:".$gContent->getDisplayUrl());
}
-$gBitSmarty->assign_by_ref( 'memberFeedback', $memberFeedback = array() );
+$gBitSmarty->assignByRef( 'memberFeedback', $memberFeedback = array() );
// set up structure related stuff
global $gStructure;
@@ -55,7 +55,7 @@ if( empty( $gStructure ) || !$gStructure->isValid() ) {
$gBitSystem->fatalError( tra( 'Invalid structure' ));
}
-$gBitSmarty->assign_by_ref( 'gStructure', $gStructure );
+$gBitSmarty->assignByRef( 'gStructure', $gStructure );
$gBitSmarty->assign( 'structureInfo', $gStructure->mInfo );
$gBitSmarty->assign( 'subtree', $gStructure->getSubTree( $gStructure->mStructureId ) );