/** * Sets the FilePath to the GeSHi plugin directory, used to highlighy PHP code parsed from files. The GeSHi syntax highlighter * is a framework plugin we use to automatically highlight code that has been caught in the context of our error screen, using * the debug_backtrage function from PHP which will return an array of FILE/LINEs where the error happened. The path to this * plugin is set with this method, from inside the 'ERR' object where the error mechanism is initialized; * * @param FilePath $pathToGeshySy Set the path to the geshy plugin * @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: 02_LOG.php 313 2009-10-09 13:27:52Z catalin.zamfir $ * @since Version 1.0 * @access protected * @static * @final */ protected static final function setRAGeshiSyPath(FilePath $pathToGeshiSy) { // Just set the INTERNAL objGeshiSyPath ... if (self::$objGeshiSyPath = $pathToGeshiSy) { // Do return ... return new B(TRUE); } else { // Do return ... return new B(FALSE); } }