gnuherds-app-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: task 8833 -- getEntityId parameters


From: Davi Leal
Subject: Re: task 8833 -- getEntityId parameters
Date: Sun, 9 Nov 2008 19:33:01 +0100
User-agent: KMail/1.9.9

>        Layer-5__DB_operation/Entity.php
>          getEntityId method.
>
>            if ( $E1_Id )
>            {
>                 < Here? I am not sure. >
>                 return $E1_Id;
>            }
>            else

We are calling the 'getEntityId' method with an extra
parameter, 'requestOperation', which is not being used,
at least yet.

We must think about if the 'requestOperation' parameter
must be used, and then modify the definition of the getEntityId
method at Layer-5__DB_operation/Entity.php:

  public function getEntityId($email)



The 'getEntityId' method is used at:


 * Layer-2__Business_logic/content/forms/View_Donation_Pledge_Group_form.php

    getEntityId( trim($_POST['Email']), 'REQUEST_TO_SUBSCRIBE_TO_NOTICE' );


 * Layer-4__DBManager_etc/DB_Manager.php

    public function getEntityId($email,$requestOperation)
    {
      $entity = new Entity();
      return $entity->getEntityId($email,$requestOperation);
    }


 * Layer-5__DB_operation/Job_Offer.php

    getEntityId( trim($_POST['Email']), 'REQUEST_TO_ADD_NOTICE' );


 * Layer-5__DB_operation/Job_Offer.php

    getEntityId( trim($_POST['Email']), 'REQUEST_TO_ADD_DONATION_TO_NOTICE' );




reply via email to

[Prev in Thread] Current Thread [Next in Thread]