All pastes #403369 Raw Edit

Stuff

public php v1 · immutable
·published 2007-03-20 09:48 UTC
rendered paste body
<?php/** * Base CyCle IDE Class * * @author Leon Pegg * @package CyCleIDE */# Note : all constants should be UPPERCASE and words seperated with _# Note : all classes should be Camel Caps no _# Note : all variables should be lowercase no _# Note : all methods/functions should be lowercase and words seperated with _# Note : { should not be on new line// redefine DIRECTORY_SEPARATOR because I am lazydefine('DS', DIRECTORY_SEPARATOR);// define directory pathsdefine('IDE_ROOT', realpath(dirname(__FILE__)));define('IDE_CONFIGURE', realpath(dirname(__FILE__)).DS.'conf');define('IDE_IMAGE', realpath(dirname(__FILE__)).DS.'img');define('IDE_LOCALE', realpath(dirname(__FILE__)).DS.'locale');define('IDE_LIBRARY', realpath(dirname(__FILE__)).DS.'lib');class Ide {  const ROOT = IDE_ROOT;  const CONFIGURE = IDE_CONFIGURE;  const IMAME = IDE_IMAGE;  const LOCALE = IDE_LOCALE;  const LIBRARY = IDE_LIBRARY;  protected function __construct(){    // static class  }}?>