/[openfoncier]/trunk/obj/module.class.php
ViewVC logotype

Diff of /trunk/obj/module.class.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 18436 by softime, Tue Aug 13 14:49:35 2024 UTC revision 19307 by softime, Wed Nov 6 10:57:56 2024 UTC
# Line 562  abstract class module { Line 562  abstract class module {
562          $this->log(__METHOD__, 'END');          $this->log(__METHOD__, 'END');
563          return $doc;          return $doc;
564      }      }
565    
566        /**
567         * Ajoute un message d'erreur dans le contexte d'un objet (pour qu'il soit affiché à
568         * l'utilisateur).
569         *
570         * @param  string  $message
571         *
572         * @return void
573         */
574        protected function add_msg_to_object(string $msg) {
575            if (! empty($this->object)) {
576                $this->object->addToMessage($msg);
577            }
578        }
579  }  }

Legend:
Removed from v.18436  
changed lines
  Added in v.19307

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26