You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@oodt.apache.org by "rose (JIRA)" <ji...@apache.org> on 2015/10/12 01:50:05 UTC
[jira] [Commented] (OODT-478) Balance: New hook for hooks.php
[ https://issues.apache.org/jira/browse/OODT-478?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14952493#comment-14952493 ]
rose commented on OODT-478:
---------------------------
add
> Balance: New hook for hooks.php
> -------------------------------
>
> Key: OODT-478
> URL: https://issues.apache.org/jira/browse/OODT-478
> Project: OODT
> Issue Type: New Feature
> Components: balance
> Affects Versions: 0.4
> Reporter: Nesbert Hidalgo
> Assignee: Andrew Hart
> Priority: Minor
> Fix For: 0.5
>
> Attachments: BalanceHookBeforeAll.patch.diff, BalanceHookBeforeAll20120730.patch.diff
>
>
> I would like to recommend adding an additional hook "hook_before_all" to Balance. Currently, the hooks (hook_before_header, hook_before_view, hook_before_footer, hook_before_send) if defined are called for views only. In my case I would like a callback to be executed for both views and scripts. This will allow us to execute the same logic for both views and scripts.
> <?php
> // Additional callback for hooks.php
> /**
> * hook_before_all
> *
> * This is the first hook called for both views and scripts (*.do).
> */
> function hook_before_all() {}
> ?>
> Please see attached patch...
> Cheers & Thanks!
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
FW: [jira] [Commented] (OODT-478) Balance: New hook for hooks.php
Posted by "Mattmann, Chris A (3980)" <ch...@jpl.nasa.gov>.
Hey Infra@,
The email/JIRA comment below looks like SPAM to me and the user looks
like a SPAM user to. Can you delete/block?
Cheers,
Chris
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Chris Mattmann, Ph.D.
Chief Architect
Instrument Software and Science Data Systems Section (398)
NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA
Office: 168-519, Mailstop: 168-527
Email: chris.a.mattmann@nasa.gov
WWW: http://sunset.usc.edu/~mattmann/
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Adjunct Associate Professor, Computer Science Department
University of Southern California, Los Angeles, CA 90089 USA
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-----Original Message-----
From: "rose (JIRA)" <ji...@apache.org>
Reply-To: "dev@oodt.apache.org" <de...@oodt.apache.org>
Date: Sunday, October 11, 2015 at 4:50 PM
To: "commits@oodt.apache.org" <co...@oodt.apache.org>
Subject: [jira] [Commented] (OODT-478) Balance: New hook for hooks.php
>
> [
>https://issues.apache.org/jira/browse/OODT-478?page=com.atlassian.jira.plu
>gin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14952493#comme
>nt-14952493 ]
>
>rose commented on OODT-478:
>---------------------------
>
>add
>
>> Balance: New hook for hooks.php
>> -------------------------------
>>
>> Key: OODT-478
>> URL: https://issues.apache.org/jira/browse/OODT-478
>> Project: OODT
>> Issue Type: New Feature
>> Components: balance
>> Affects Versions: 0.4
>> Reporter: Nesbert Hidalgo
>> Assignee: Andrew Hart
>> Priority: Minor
>> Fix For: 0.5
>>
>> Attachments: BalanceHookBeforeAll.patch.diff,
>>BalanceHookBeforeAll20120730.patch.diff
>>
>>
>> I would like to recommend adding an additional hook "hook_before_all"
>>to Balance. Currently, the hooks (hook_before_header, hook_before_view,
>>hook_before_footer, hook_before_send) if defined are called for views
>>only. In my case I would like a callback to be executed for both views
>>and scripts. This will allow us to execute the same logic for both views
>>and scripts.
>> <?php
>> // Additional callback for hooks.php
>> /**
>> * hook_before_all
>> *
>> * This is the first hook called for both views and scripts (*.do).
>> */
>> function hook_before_all() {}
>> ?>
>> Please see attached patch...
>> Cheers & Thanks!
>
>
>
>--
>This message was sent by Atlassian JIRA
>(v6.3.4#6332)