コード例 #1
0
ファイル: 03_INI.php プロジェクト: ajbm6/raphpframework
 /**
  * Used to set the, for ex: </RA_php_error>, error-append-tag. Any open tag has a closing tag. This tag is appended after the error
  * string. In combination, these tags can help us actually catch the error that PHP has given us, so we can report it back to the
  * developer and make the developer fix that certain issue;
  *
  * @param S $errorAppendString The string to append errors with
  * @return B Will return true if the path 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 setRAErrorAppendString(S $errorAppendString)
 {
     // Just set the INTERNAL objErrorAppendString ...
     if (self::$objErrorAppendString = $errorAppendString) {
         // Do return ...
         return new B(TRUE);
     } else {
         // Do return ...
         return new B(FALSE);
     }
 }