Exemple #1
0
 /**
  * Used to set the, for ex: <RA_php_error>, error-prepend-tag. This tag is processed in the Output Buffering function to determine,
  * for example if a parsing error has happened or if other types of non-catchable errors through the PHP error-handling mechanism,
  * have arrisen. For that, we set a specific tag (the above) which can then be searched for in the buffer;
  *
  * @param S $errorPrependString The string to prepend errors with
  * @return B Will return true if the variable was set
  * @author Catalin Z. Alexandru <*****@*****.**>
  * @copyright Under the terms of the GNU General Public License v3
  * @version $Id: 03_INI.php 313 2009-10-09 13:27:52Z catalin.zamfir $
  * @since Version 1.0
  * @access protected
  * @static
  * @final
  */
 protected static final function setRAErrorPrependString(S $errorPrependString)
 {
     // Just set the INTERNAL objErrorPrependString ...
     if (self::$objErrorPrependString = $errorPrependString) {
         // Do return ...
         return new B(TRUE);
     } else {
         // Do return ...
         return new B(FALSE);
     }
 }