563 lines
No EOL
29 KiB
HTML
563 lines
No EOL
29 KiB
HTML
<?xml version="1.0" encoding="iso-8859-1"?>
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<!-- template designed by Marco Von Ballmoos -->
|
|
<title>Docs for page pickles.php</title>
|
|
<link rel="stylesheet" href="../media/stylesheet.css" />
|
|
<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
|
|
</head>
|
|
<body>
|
|
<div class="page-body">
|
|
<h2 class="file-name">/pickles.php</h2>
|
|
|
|
<a name="sec-description"></a>
|
|
<div class="info-box">
|
|
<div class="info-box-title">Description</div>
|
|
<div class="nav-bar">
|
|
<span class="disabled">Description</span> |
|
|
<a href="#sec-includes">Includes</a>
|
|
| <a href="#sec-constants">Constants</a>
|
|
| <a href="#sec-functions">Functions</a>
|
|
</div>
|
|
<div class="info-box-body">
|
|
<!-- ========== Info from phpDoc block ========= -->
|
|
<p class="short-description">Core PICKLES Include File</p>
|
|
<p class="description"><p>This is the file that you include on the page you're instantiating the controller from (typically index.php). The path to the PICKLES code base is established as well as the path that Smarty will use to store the compiled pages.</p><p>PHP version 5</p><p>Licensed under The MIT License Redistribution of these files must retain the above copyright notice.</p></p>
|
|
<ul class="tags">
|
|
<li><span class="field">author:</span> Josh Sherman <<a href="mailto:pickles@joshtronic.com">pickles@joshtronic.com</a>></li>
|
|
<li><span class="field">copyright:</span> Copyright 2007-2012, Josh Sherman</li>
|
|
<li><span class="field">link:</span> <a href="https://github.com/joshtronic/pickles">https://github.com/joshtronic/pickles</a></li>
|
|
<li><span class="field">usage:</span> <div class="src-code"><ol><li><div class="src-line"><span class="src-inc">require_once </span><span class="src-str">'pickles.php'</span><span class="src-sym">;</span></div></li>
|
|
</ol></div></li>
|
|
<li><span class="field">license:</span> <a href="http://www.opensource.org/licenses/mit-license.html">http://www.opensource.org/licenses/mit-license.html</a></li>
|
|
</ul>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<a name="sec-includes"></a>
|
|
<div class="info-box">
|
|
<div class="info-box-title">Includes</div>
|
|
<div class="nav-bar">
|
|
<a href="#sec-description">Description</a> |
|
|
<span class="disabled">Includes</span>
|
|
| <a href="#sec-constants">Constants</a>
|
|
| <a href="#sec-functions">Functions</a>
|
|
</div>
|
|
<div class="info-box-body">
|
|
|
|
Strict standards: Only variables should be passed by reference in /usr/local/Cellar/php53/5.3.16/lib/php/PhpDocumentor/phpDocumentor/Smarty-2.6.0/libs/Smarty_Compiler.class.php on line 712
|
|
|
|
Call Stack:
|
|
0.0001 642352 1. {main}() /usr/local/Cellar/php53/5.3.16/bin/phpdoc:0
|
|
0.0504 658000 2. require('/usr/local/Cellar/php53/5.3.16/lib/php/PhpDocumentor/phpDocumentor/phpdoc.inc') /usr/local/Cellar/php53/5.3.16/bin/phpdoc:40
|
|
0.2081 15420440 3. phpDocumentor_setup->createDocs() /usr/local/Cellar/php53/5.3.16/lib/php/PhpDocumentor/phpDocumentor/phpdoc.inc:65
|
|
6.0026 101044048 4. phpDocumentor_IntermediateParser->Output() /usr/local/Cellar/php53/5.3.16/lib/php/PhpDocumentor/phpDocumentor/Setup.inc.php:763
|
|
6.1709 101132944 5. phpDocumentor_IntermediateParser->Convert() /usr/local/Cellar/php53/5.3.16/lib/php/PhpDocumentor/phpDocumentor/IntermediateParser.inc:1867
|
|
6.1709 101133256 6. Converter->walk() /usr/local/Cellar/php53/5.3.16/lib/php/PhpDocumentor/phpDocumentor/IntermediateParser.inc:1654
|
|
7.4500 104453232 7. HTMLframesConverter->endPage() /usr/local/Cellar/php53/5.3.16/lib/php/PhpDocumentor/phpDocumentor/Converter.inc:1939
|
|
7.4501 104456824 8. Smarty->fetch() /usr/local/Cellar/php53/5.3.16/lib/php/PhpDocumentor/phpDocumentor/Converters/HTML/frames/HTMLframesConverter.inc:366
|
|
7.4507 104679896 9. include('/Users/josh/Source/pickles/docs/PICKLES/26d3399f63abd43a7d72f8c21440dcb0/%%363^%%3636363891^page.tpl.php') /usr/local/Cellar/php53/5.3.16/lib/php/PhpDocumentor/phpDocumentor/Smarty-2.6.0/libs/Smarty.class.php:1298
|
|
7.4512 104685256 10. Smarty->_smarty_include() /Users/josh/Source/pickles/docs/PICKLES/26d3399f63abd43a7d72f8c21440dcb0/%%363^%%3636363891^page.tpl.php:155
|
|
7.4513 104690008 11. Smarty->_compile_resource() /usr/local/Cellar/php53/5.3.16/lib/php/PhpDocumentor/phpDocumentor/Smarty-2.6.0/libs/Smarty.class.php:1935
|
|
7.4517 104693272 12. Smarty->_compile_source() /usr/local/Cellar/php53/5.3.16/lib/php/PhpDocumentor/phpDocumentor/Smarty-2.6.0/libs/Smarty.class.php:1458
|
|
7.4518 104725728 13. Smarty_Compiler->_compile_file() /usr/local/Cellar/php53/5.3.16/lib/php/PhpDocumentor/phpDocumentor/Smarty-2.6.0/libs/Smarty.class.php:1523
|
|
7.4523 104744952 14. Smarty_Compiler->_compile_tag() /usr/local/Cellar/php53/5.3.16/lib/php/PhpDocumentor/phpDocumentor/Smarty-2.6.0/libs/Smarty_Compiler.class.php:316
|
|
7.4525 104746792 15. Smarty_Compiler->_compile_custom_tag() /usr/local/Cellar/php53/5.3.16/lib/php/PhpDocumentor/phpDocumentor/Smarty-2.6.0/libs/Smarty_Compiler.class.php:537
|
|
|
|
|
|
Warning: strftime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EDT/-4.0/DST' instead in /usr/local/Cellar/php53/5.3.16/lib/php/PhpDocumentor/phpDocumentor/Smarty-2.6.0/libs/Smarty_Compiler.class.php on line 370
|
|
|
|
Call Stack:
|
|
0.0001 642352 1. {main}() /usr/local/Cellar/php53/5.3.16/bin/phpdoc:0
|
|
0.0504 658000 2. require('/usr/local/Cellar/php53/5.3.16/lib/php/PhpDocumentor/phpDocumentor/phpdoc.inc') /usr/local/Cellar/php53/5.3.16/bin/phpdoc:40
|
|
0.2081 15420440 3. phpDocumentor_setup->createDocs() /usr/local/Cellar/php53/5.3.16/lib/php/PhpDocumentor/phpDocumentor/phpdoc.inc:65
|
|
6.0026 101044048 4. phpDocumentor_IntermediateParser->Output() /usr/local/Cellar/php53/5.3.16/lib/php/PhpDocumentor/phpDocumentor/Setup.inc.php:763
|
|
6.1709 101132944 5. phpDocumentor_IntermediateParser->Convert() /usr/local/Cellar/php53/5.3.16/lib/php/PhpDocumentor/phpDocumentor/IntermediateParser.inc:1867
|
|
6.1709 101133256 6. Converter->walk() /usr/local/Cellar/php53/5.3.16/lib/php/PhpDocumentor/phpDocumentor/IntermediateParser.inc:1654
|
|
7.4500 104453232 7. HTMLframesConverter->endPage() /usr/local/Cellar/php53/5.3.16/lib/php/PhpDocumentor/phpDocumentor/Converter.inc:1939
|
|
7.4501 104456824 8. Smarty->fetch() /usr/local/Cellar/php53/5.3.16/lib/php/PhpDocumentor/phpDocumentor/Converters/HTML/frames/HTMLframesConverter.inc:366
|
|
7.4507 104679896 9. include('/Users/josh/Source/pickles/docs/PICKLES/26d3399f63abd43a7d72f8c21440dcb0/%%363^%%3636363891^page.tpl.php') /usr/local/Cellar/php53/5.3.16/lib/php/PhpDocumentor/phpDocumentor/Smarty-2.6.0/libs/Smarty.class.php:1298
|
|
7.4512 104685256 10. Smarty->_smarty_include() /Users/josh/Source/pickles/docs/PICKLES/26d3399f63abd43a7d72f8c21440dcb0/%%363^%%3636363891^page.tpl.php:155
|
|
7.4513 104690008 11. Smarty->_compile_resource() /usr/local/Cellar/php53/5.3.16/lib/php/PhpDocumentor/phpDocumentor/Smarty-2.6.0/libs/Smarty.class.php:1935
|
|
7.4517 104693272 12. Smarty->_compile_source() /usr/local/Cellar/php53/5.3.16/lib/php/PhpDocumentor/phpDocumentor/Smarty-2.6.0/libs/Smarty.class.php:1458
|
|
7.4518 104725728 13. Smarty_Compiler->_compile_file() /usr/local/Cellar/php53/5.3.16/lib/php/PhpDocumentor/phpDocumentor/Smarty-2.6.0/libs/Smarty.class.php:1523
|
|
7.4582 104750328 14. strftime() /usr/local/Cellar/php53/5.3.16/lib/php/PhpDocumentor/phpDocumentor/Smarty-2.6.0/libs/Smarty_Compiler.class.php:370
|
|
|
|
<a name="_$jar_file"><!-- --></a>
|
|
<div class="oddrow">
|
|
|
|
<div>
|
|
<span class="include-title">
|
|
<span class="include-type">require</span>
|
|
(<span class="include-name">$jar_file</span>)
|
|
(line <span class="line-number">97</span>)
|
|
</span>
|
|
</div>
|
|
|
|
<!-- ========== Info from phpDoc block ========= -->
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<a name="sec-constants"></a>
|
|
<div class="info-box">
|
|
<div class="info-box-title">Constants</div>
|
|
<div class="nav-bar">
|
|
<a href="#sec-description">Description</a> |
|
|
<a href="#sec-includes">Includes</a>
|
|
| <span class="disabled">Constants</span>
|
|
| <a href="#sec-functions">Functions</a>
|
|
</div>
|
|
<div class="info-box-body">
|
|
|
|
Strict standards: Only variables should be passed by reference in /usr/local/Cellar/php53/5.3.16/lib/php/PhpDocumentor/phpDocumentor/Smarty-2.6.0/libs/Smarty_Compiler.class.php on line 712
|
|
|
|
Call Stack:
|
|
0.0001 642352 1. {main}() /usr/local/Cellar/php53/5.3.16/bin/phpdoc:0
|
|
0.0504 658000 2. require('/usr/local/Cellar/php53/5.3.16/lib/php/PhpDocumentor/phpDocumentor/phpdoc.inc') /usr/local/Cellar/php53/5.3.16/bin/phpdoc:40
|
|
0.2081 15420440 3. phpDocumentor_setup->createDocs() /usr/local/Cellar/php53/5.3.16/lib/php/PhpDocumentor/phpDocumentor/phpdoc.inc:65
|
|
6.0026 101044048 4. phpDocumentor_IntermediateParser->Output() /usr/local/Cellar/php53/5.3.16/lib/php/PhpDocumentor/phpDocumentor/Setup.inc.php:763
|
|
6.1709 101132944 5. phpDocumentor_IntermediateParser->Convert() /usr/local/Cellar/php53/5.3.16/lib/php/PhpDocumentor/phpDocumentor/IntermediateParser.inc:1867
|
|
6.1709 101133256 6. Converter->walk() /usr/local/Cellar/php53/5.3.16/lib/php/PhpDocumentor/phpDocumentor/IntermediateParser.inc:1654
|
|
7.4500 104453232 7. HTMLframesConverter->endPage() /usr/local/Cellar/php53/5.3.16/lib/php/PhpDocumentor/phpDocumentor/Converter.inc:1939
|
|
7.4501 104456824 8. Smarty->fetch() /usr/local/Cellar/php53/5.3.16/lib/php/PhpDocumentor/phpDocumentor/Converters/HTML/frames/HTMLframesConverter.inc:366
|
|
7.4507 104679896 9. include('/Users/josh/Source/pickles/docs/PICKLES/26d3399f63abd43a7d72f8c21440dcb0/%%363^%%3636363891^page.tpl.php') /usr/local/Cellar/php53/5.3.16/lib/php/PhpDocumentor/phpDocumentor/Smarty-2.6.0/libs/Smarty.class.php:1298
|
|
7.4599 104691768 10. Smarty->_smarty_include() /Users/josh/Source/pickles/docs/PICKLES/26d3399f63abd43a7d72f8c21440dcb0/%%363^%%3636363891^page.tpl.php:189
|
|
7.4599 104696472 11. Smarty->_compile_resource() /usr/local/Cellar/php53/5.3.16/lib/php/PhpDocumentor/phpDocumentor/Smarty-2.6.0/libs/Smarty.class.php:1935
|
|
7.4603 104700200 12. Smarty->_compile_source() /usr/local/Cellar/php53/5.3.16/lib/php/PhpDocumentor/phpDocumentor/Smarty-2.6.0/libs/Smarty.class.php:1458
|
|
7.4604 104732752 13. Smarty_Compiler->_compile_file() /usr/local/Cellar/php53/5.3.16/lib/php/PhpDocumentor/phpDocumentor/Smarty-2.6.0/libs/Smarty.class.php:1523
|
|
7.4609 104756712 14. Smarty_Compiler->_compile_tag() /usr/local/Cellar/php53/5.3.16/lib/php/PhpDocumentor/phpDocumentor/Smarty-2.6.0/libs/Smarty_Compiler.class.php:316
|
|
7.4611 104758472 15. Smarty_Compiler->_compile_custom_tag() /usr/local/Cellar/php53/5.3.16/lib/php/PhpDocumentor/phpDocumentor/Smarty-2.6.0/libs/Smarty_Compiler.class.php:537
|
|
|
|
|
|
Warning: strftime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EDT/-4.0/DST' instead in /usr/local/Cellar/php53/5.3.16/lib/php/PhpDocumentor/phpDocumentor/Smarty-2.6.0/libs/Smarty_Compiler.class.php on line 370
|
|
|
|
Call Stack:
|
|
0.0001 642352 1. {main}() /usr/local/Cellar/php53/5.3.16/bin/phpdoc:0
|
|
0.0504 658000 2. require('/usr/local/Cellar/php53/5.3.16/lib/php/PhpDocumentor/phpDocumentor/phpdoc.inc') /usr/local/Cellar/php53/5.3.16/bin/phpdoc:40
|
|
0.2081 15420440 3. phpDocumentor_setup->createDocs() /usr/local/Cellar/php53/5.3.16/lib/php/PhpDocumentor/phpDocumentor/phpdoc.inc:65
|
|
6.0026 101044048 4. phpDocumentor_IntermediateParser->Output() /usr/local/Cellar/php53/5.3.16/lib/php/PhpDocumentor/phpDocumentor/Setup.inc.php:763
|
|
6.1709 101132944 5. phpDocumentor_IntermediateParser->Convert() /usr/local/Cellar/php53/5.3.16/lib/php/PhpDocumentor/phpDocumentor/IntermediateParser.inc:1867
|
|
6.1709 101133256 6. Converter->walk() /usr/local/Cellar/php53/5.3.16/lib/php/PhpDocumentor/phpDocumentor/IntermediateParser.inc:1654
|
|
7.4500 104453232 7. HTMLframesConverter->endPage() /usr/local/Cellar/php53/5.3.16/lib/php/PhpDocumentor/phpDocumentor/Converter.inc:1939
|
|
7.4501 104456824 8. Smarty->fetch() /usr/local/Cellar/php53/5.3.16/lib/php/PhpDocumentor/phpDocumentor/Converters/HTML/frames/HTMLframesConverter.inc:366
|
|
7.4507 104679896 9. include('/Users/josh/Source/pickles/docs/PICKLES/26d3399f63abd43a7d72f8c21440dcb0/%%363^%%3636363891^page.tpl.php') /usr/local/Cellar/php53/5.3.16/lib/php/PhpDocumentor/phpDocumentor/Smarty-2.6.0/libs/Smarty.class.php:1298
|
|
7.4599 104691768 10. Smarty->_smarty_include() /Users/josh/Source/pickles/docs/PICKLES/26d3399f63abd43a7d72f8c21440dcb0/%%363^%%3636363891^page.tpl.php:189
|
|
7.4599 104696472 11. Smarty->_compile_resource() /usr/local/Cellar/php53/5.3.16/lib/php/PhpDocumentor/phpDocumentor/Smarty-2.6.0/libs/Smarty.class.php:1935
|
|
7.4603 104700200 12. Smarty->_compile_source() /usr/local/Cellar/php53/5.3.16/lib/php/PhpDocumentor/phpDocumentor/Smarty-2.6.0/libs/Smarty.class.php:1458
|
|
7.4604 104732752 13. Smarty_Compiler->_compile_file() /usr/local/Cellar/php53/5.3.16/lib/php/PhpDocumentor/phpDocumentor/Smarty-2.6.0/libs/Smarty.class.php:1523
|
|
7.4634 104767416 14. strftime() /usr/local/Cellar/php53/5.3.16/lib/php/PhpDocumentor/phpDocumentor/Smarty-2.6.0/libs/Smarty_Compiler.class.php:370
|
|
|
|
<a name="defineDISPLAY_JSON"><!-- --></a>
|
|
<div class="evenrow">
|
|
|
|
<div>
|
|
<span class="const-title">
|
|
<span class="const-name">DISPLAY_JSON</span> = 'JSON'
|
|
(line <span class="line-number">49</span>)
|
|
</span>
|
|
</div>
|
|
|
|
<!-- ========== Info from phpDoc block ========= -->
|
|
|
|
|
|
</div>
|
|
<a name="defineDISPLAY_PHP"><!-- --></a>
|
|
<div class="oddrow">
|
|
|
|
<div>
|
|
<span class="const-title">
|
|
<span class="const-name">DISPLAY_PHP</span> = 'PHP'
|
|
(line <span class="line-number">50</span>)
|
|
</span>
|
|
</div>
|
|
|
|
<!-- ========== Info from phpDoc block ========= -->
|
|
|
|
|
|
</div>
|
|
<a name="defineDISPLAY_RSS"><!-- --></a>
|
|
<div class="evenrow">
|
|
|
|
<div>
|
|
<span class="const-title">
|
|
<span class="const-name">DISPLAY_RSS</span> = 'RSS'
|
|
(line <span class="line-number">51</span>)
|
|
</span>
|
|
</div>
|
|
|
|
<!-- ========== Info from phpDoc block ========= -->
|
|
|
|
|
|
</div>
|
|
<a name="defineDISPLAY_XML"><!-- --></a>
|
|
<div class="oddrow">
|
|
|
|
<div>
|
|
<span class="const-title">
|
|
<span class="const-name">DISPLAY_XML</span> = 'XML'
|
|
(line <span class="line-number">52</span>)
|
|
</span>
|
|
</div>
|
|
|
|
<!-- ========== Info from phpDoc block ========= -->
|
|
|
|
|
|
</div>
|
|
<a name="defineIS_CLI"><!-- --></a>
|
|
<div class="evenrow">
|
|
|
|
<div>
|
|
<span class="const-title">
|
|
<span class="const-name">IS_CLI</span> = !isset($_SERVER['REQUEST_METHOD'])
|
|
(line <span class="line-number">58</span>)
|
|
</span>
|
|
</div>
|
|
|
|
<!-- ========== Info from phpDoc block ========= -->
|
|
|
|
|
|
</div>
|
|
<a name="defineJSON_AVAILABLE"><!-- --></a>
|
|
<div class="oddrow">
|
|
|
|
<div>
|
|
<span class="const-title">
|
|
<span class="const-name">JSON_AVAILABLE</span> = function_exists('json_encode')
|
|
(line <span class="line-number">55</span>)
|
|
</span>
|
|
</div>
|
|
|
|
<!-- ========== Info from phpDoc block ========= -->
|
|
|
|
|
|
</div>
|
|
<a name="defineLOG_PATH"><!-- --></a>
|
|
<div class="evenrow">
|
|
|
|
<div>
|
|
<span class="const-title">
|
|
<span class="const-name">LOG_PATH</span> = PRIVATE_PATH.'logs/'
|
|
(line <span class="line-number">46</span>)
|
|
</span>
|
|
</div>
|
|
|
|
<!-- ========== Info from phpDoc block ========= -->
|
|
|
|
|
|
</div>
|
|
<a name="definePICKLES_CLASS_PATH"><!-- --></a>
|
|
<div class="oddrow">
|
|
|
|
<div>
|
|
<span class="const-title">
|
|
<span class="const-name">PICKLES_CLASS_PATH</span> = PICKLES_PATH.'classes/'
|
|
(line <span class="line-number">35</span>)
|
|
</span>
|
|
</div>
|
|
|
|
<!-- ========== Info from phpDoc block ========= -->
|
|
|
|
|
|
</div>
|
|
<a name="definePICKLES_PATH"><!-- --></a>
|
|
<div class="evenrow">
|
|
|
|
<div>
|
|
<span class="const-title">
|
|
<span class="const-name">PICKLES_PATH</span> = dirname(__FILE__).'/'
|
|
(line <span class="line-number">34</span>)
|
|
</span>
|
|
</div>
|
|
|
|
<!-- ========== Info from phpDoc block ========= -->
|
|
|
|
|
|
</div>
|
|
<a name="definePICKLES_START_TIME"><!-- --></a>
|
|
<div class="oddrow">
|
|
|
|
<div>
|
|
<span class="const-title">
|
|
<span class="const-name">PICKLES_START_TIME</span> = microtime(true)
|
|
(line <span class="line-number">31</span>)
|
|
</span>
|
|
</div>
|
|
|
|
<!-- ========== Info from phpDoc block ========= -->
|
|
|
|
|
|
</div>
|
|
<a name="definePRIVATE_PATH"><!-- --></a>
|
|
<div class="evenrow">
|
|
|
|
<div>
|
|
<span class="const-title">
|
|
<span class="const-name">PRIVATE_PATH</span> = SITE_PATH.'private/'
|
|
(line <span class="line-number">45</span>)
|
|
</span>
|
|
</div>
|
|
|
|
<!-- ========== Info from phpDoc block ========= -->
|
|
|
|
|
|
</div>
|
|
<a name="defineSITE_CLASS_PATH"><!-- --></a>
|
|
<div class="oddrow">
|
|
|
|
<div>
|
|
<span class="const-title">
|
|
<span class="const-name">SITE_CLASS_PATH</span> = SITE_PATH.'classes/'
|
|
(line <span class="line-number">40</span>)
|
|
</span>
|
|
</div>
|
|
|
|
<!-- ========== Info from phpDoc block ========= -->
|
|
|
|
|
|
</div>
|
|
<a name="defineSITE_MODEL_PATH"><!-- --></a>
|
|
<div class="evenrow">
|
|
|
|
<div>
|
|
<span class="const-title">
|
|
<span class="const-name">SITE_MODEL_PATH</span> = SITE_PATH.'models/'
|
|
(line <span class="line-number">41</span>)
|
|
</span>
|
|
</div>
|
|
|
|
<!-- ========== Info from phpDoc block ========= -->
|
|
|
|
|
|
</div>
|
|
<a name="defineSITE_MODULE_PATH"><!-- --></a>
|
|
<div class="oddrow">
|
|
|
|
<div>
|
|
<span class="const-title">
|
|
<span class="const-name">SITE_MODULE_PATH</span> = SITE_PATH.'modules/'
|
|
(line <span class="line-number">42</span>)
|
|
</span>
|
|
</div>
|
|
|
|
<!-- ========== Info from phpDoc block ========= -->
|
|
|
|
|
|
</div>
|
|
<a name="defineSITE_PATH"><!-- --></a>
|
|
<div class="evenrow">
|
|
|
|
<div>
|
|
<span class="const-title">
|
|
<span class="const-name">SITE_PATH</span> = getcwd().'/../'
|
|
(line <span class="line-number">38</span>)
|
|
</span>
|
|
</div>
|
|
|
|
<!-- ========== Info from phpDoc block ========= -->
|
|
|
|
|
|
</div>
|
|
<a name="defineSITE_TEMPLATE_PATH"><!-- --></a>
|
|
<div class="oddrow">
|
|
|
|
<div>
|
|
<span class="const-title">
|
|
<span class="const-name">SITE_TEMPLATE_PATH</span> = SITE_PATH.'templates/'
|
|
(line <span class="line-number">43</span>)
|
|
</span>
|
|
</div>
|
|
|
|
<!-- ========== Info from phpDoc block ========= -->
|
|
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<a name="sec-functions"></a>
|
|
<div class="info-box">
|
|
<div class="info-box-title">Functions</div>
|
|
<div class="nav-bar">
|
|
<a href="#sec-description">Description</a> |
|
|
<a href="#sec-includes">Includes</a>
|
|
| <a href="#sec-constants">Constants</a>
|
|
| <span class="disabled">Functions</span>
|
|
</div>
|
|
<div class="info-box-body">
|
|
|
|
Strict standards: Only variables should be passed by reference in /usr/local/Cellar/php53/5.3.16/lib/php/PhpDocumentor/phpDocumentor/Smarty-2.6.0/libs/Smarty_Compiler.class.php on line 712
|
|
|
|
Call Stack:
|
|
0.0001 642352 1. {main}() /usr/local/Cellar/php53/5.3.16/bin/phpdoc:0
|
|
0.0504 658000 2. require('/usr/local/Cellar/php53/5.3.16/lib/php/PhpDocumentor/phpDocumentor/phpdoc.inc') /usr/local/Cellar/php53/5.3.16/bin/phpdoc:40
|
|
0.2081 15420440 3. phpDocumentor_setup->createDocs() /usr/local/Cellar/php53/5.3.16/lib/php/PhpDocumentor/phpDocumentor/phpdoc.inc:65
|
|
6.0026 101044048 4. phpDocumentor_IntermediateParser->Output() /usr/local/Cellar/php53/5.3.16/lib/php/PhpDocumentor/phpDocumentor/Setup.inc.php:763
|
|
6.1709 101132944 5. phpDocumentor_IntermediateParser->Convert() /usr/local/Cellar/php53/5.3.16/lib/php/PhpDocumentor/phpDocumentor/IntermediateParser.inc:1867
|
|
6.1709 101133256 6. Converter->walk() /usr/local/Cellar/php53/5.3.16/lib/php/PhpDocumentor/phpDocumentor/IntermediateParser.inc:1654
|
|
7.4500 104453232 7. HTMLframesConverter->endPage() /usr/local/Cellar/php53/5.3.16/lib/php/PhpDocumentor/phpDocumentor/Converter.inc:1939
|
|
7.4501 104456824 8. Smarty->fetch() /usr/local/Cellar/php53/5.3.16/lib/php/PhpDocumentor/phpDocumentor/Converters/HTML/frames/HTMLframesConverter.inc:366
|
|
7.4507 104679896 9. include('/Users/josh/Source/pickles/docs/PICKLES/26d3399f63abd43a7d72f8c21440dcb0/%%363^%%3636363891^page.tpl.php') /usr/local/Cellar/php53/5.3.16/lib/php/PhpDocumentor/phpDocumentor/Smarty-2.6.0/libs/Smarty.class.php:1298
|
|
7.4691 104697736 10. Smarty->_smarty_include() /Users/josh/Source/pickles/docs/PICKLES/26d3399f63abd43a7d72f8c21440dcb0/%%363^%%3636363891^page.tpl.php:257
|
|
7.4692 104702520 11. Smarty->_compile_resource() /usr/local/Cellar/php53/5.3.16/lib/php/PhpDocumentor/phpDocumentor/Smarty-2.6.0/libs/Smarty.class.php:1935
|
|
7.4696 104709072 12. Smarty->_compile_source() /usr/local/Cellar/php53/5.3.16/lib/php/PhpDocumentor/phpDocumentor/Smarty-2.6.0/libs/Smarty.class.php:1458
|
|
7.4697 104743368 13. Smarty_Compiler->_compile_file() /usr/local/Cellar/php53/5.3.16/lib/php/PhpDocumentor/phpDocumentor/Smarty-2.6.0/libs/Smarty.class.php:1523
|
|
7.4707 104794176 14. Smarty_Compiler->_compile_tag() /usr/local/Cellar/php53/5.3.16/lib/php/PhpDocumentor/phpDocumentor/Smarty-2.6.0/libs/Smarty_Compiler.class.php:316
|
|
7.4708 104795920 15. Smarty_Compiler->_compile_custom_tag() /usr/local/Cellar/php53/5.3.16/lib/php/PhpDocumentor/phpDocumentor/Smarty-2.6.0/libs/Smarty_Compiler.class.php:537
|
|
|
|
|
|
Warning: strftime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EDT/-4.0/DST' instead in /usr/local/Cellar/php53/5.3.16/lib/php/PhpDocumentor/phpDocumentor/Smarty-2.6.0/libs/Smarty_Compiler.class.php on line 370
|
|
|
|
Call Stack:
|
|
0.0001 642352 1. {main}() /usr/local/Cellar/php53/5.3.16/bin/phpdoc:0
|
|
0.0504 658000 2. require('/usr/local/Cellar/php53/5.3.16/lib/php/PhpDocumentor/phpDocumentor/phpdoc.inc') /usr/local/Cellar/php53/5.3.16/bin/phpdoc:40
|
|
0.2081 15420440 3. phpDocumentor_setup->createDocs() /usr/local/Cellar/php53/5.3.16/lib/php/PhpDocumentor/phpDocumentor/phpdoc.inc:65
|
|
6.0026 101044048 4. phpDocumentor_IntermediateParser->Output() /usr/local/Cellar/php53/5.3.16/lib/php/PhpDocumentor/phpDocumentor/Setup.inc.php:763
|
|
6.1709 101132944 5. phpDocumentor_IntermediateParser->Convert() /usr/local/Cellar/php53/5.3.16/lib/php/PhpDocumentor/phpDocumentor/IntermediateParser.inc:1867
|
|
6.1709 101133256 6. Converter->walk() /usr/local/Cellar/php53/5.3.16/lib/php/PhpDocumentor/phpDocumentor/IntermediateParser.inc:1654
|
|
7.4500 104453232 7. HTMLframesConverter->endPage() /usr/local/Cellar/php53/5.3.16/lib/php/PhpDocumentor/phpDocumentor/Converter.inc:1939
|
|
7.4501 104456824 8. Smarty->fetch() /usr/local/Cellar/php53/5.3.16/lib/php/PhpDocumentor/phpDocumentor/Converters/HTML/frames/HTMLframesConverter.inc:366
|
|
7.4507 104679896 9. include('/Users/josh/Source/pickles/docs/PICKLES/26d3399f63abd43a7d72f8c21440dcb0/%%363^%%3636363891^page.tpl.php') /usr/local/Cellar/php53/5.3.16/lib/php/PhpDocumentor/phpDocumentor/Smarty-2.6.0/libs/Smarty.class.php:1298
|
|
7.4691 104697736 10. Smarty->_smarty_include() /Users/josh/Source/pickles/docs/PICKLES/26d3399f63abd43a7d72f8c21440dcb0/%%363^%%3636363891^page.tpl.php:257
|
|
7.4692 104702520 11. Smarty->_compile_resource() /usr/local/Cellar/php53/5.3.16/lib/php/PhpDocumentor/phpDocumentor/Smarty-2.6.0/libs/Smarty.class.php:1935
|
|
7.4696 104709072 12. Smarty->_compile_source() /usr/local/Cellar/php53/5.3.16/lib/php/PhpDocumentor/phpDocumentor/Smarty-2.6.0/libs/Smarty.class.php:1458
|
|
7.4697 104743368 13. Smarty_Compiler->_compile_file() /usr/local/Cellar/php53/5.3.16/lib/php/PhpDocumentor/phpDocumentor/Smarty-2.6.0/libs/Smarty.class.php:1523
|
|
7.4763 104815432 14. strftime() /usr/local/Cellar/php53/5.3.16/lib/php/PhpDocumentor/phpDocumentor/Smarty-2.6.0/libs/Smarty_Compiler.class.php:370
|
|
|
|
<a name="functionreadFileContents" id="functionreadFileContents"><!-- --></a>
|
|
<div class="evenrow">
|
|
|
|
<div>
|
|
<span class="method-title">readFileContents</span> (line <span class="line-number">63</span>)
|
|
</div>
|
|
|
|
<!-- ========== Info from phpDoc block ========= -->
|
|
|
|
<div class="method-signature">
|
|
<span class="method-result">void</span>
|
|
<span class="method-name">
|
|
readFileContents
|
|
</span>
|
|
(<span class="var-type"></span> <span class="var-name">$directory</span>)
|
|
</div>
|
|
|
|
<ul class="parameters">
|
|
<li>
|
|
<span class="var-type"></span>
|
|
<span class="var-name">$directory</span> </li>
|
|
</ul>
|
|
|
|
|
|
</div>
|
|
<a name="function__autoload" id="function__autoload"><!-- --></a>
|
|
<div class="oddrow">
|
|
|
|
<div>
|
|
<span class="method-title">__autoload</span> (line <span class="line-number">171</span>)
|
|
</div>
|
|
|
|
<!-- ========== Info from phpDoc block ========= -->
|
|
<p class="short-description">Magic function to automatically load classes</p>
|
|
<p class="description"><p>Attempts to load a core PICKLES class or a site level data model or module class. If Smarty is being requested, will load the proper class from the vendors directory</p></p>
|
|
<ul class="tags">
|
|
<li><span class="field">return:</span> Return value of require_once() or false (default)</li>
|
|
</ul>
|
|
|
|
<div class="method-signature">
|
|
<span class="method-result">boolean</span>
|
|
<span class="method-name">
|
|
__autoload
|
|
</span>
|
|
(<span class="var-type">string</span> <span class="var-name">$class</span>)
|
|
</div>
|
|
|
|
<ul class="parameters">
|
|
<li>
|
|
<span class="var-type">string</span>
|
|
<span class="var-name">$class</span><span class="var-description">: Name of the class to be loaded</span> </li>
|
|
</ul>
|
|
|
|
|
|
</div>
|
|
<a name="function__handleError" id="function__handleError"><!-- --></a>
|
|
<div class="evenrow">
|
|
|
|
<div>
|
|
<span class="method-title">__handleError</span> (line <span class="line-number">224</span>)
|
|
</div>
|
|
|
|
<!-- ========== Info from phpDoc block ========= -->
|
|
<p class="short-description">Error handling function that thinks it's magical</p>
|
|
<p class="description"><p>Catches errors (warnings and the like) and throws it back out as an ErrorException. This really helps trapping complex errors that need a ton of sanity checks, just try / catch and you're good. Also, this isn't a magic function, but I opted to use the __ prefix to help avoid a naming collision since namespace support is 5.3+ and PICKLES strives to be 5.0+ compatible.</p><p>Keep in mind that fatal errors cannot and will not be handled.</p></p>
|
|
<ul class="tags">
|
|
<li><span class="field">return:</span> not really returned, but worth documenting</li>
|
|
</ul>
|
|
|
|
<div class="method-signature">
|
|
<span class="method-result">ErrorException</span>
|
|
<span class="method-name">
|
|
__handleError
|
|
</span>
|
|
(<span class="var-type">integer</span> <span class="var-name">$errno</span>, <span class="var-type">string</span> <span class="var-name">$errstr</span>, <span class="var-type">string</span> <span class="var-name">$errfile</span>, <span class="var-type">integer</span> <span class="var-name">$errline</span>, <span class="var-type">array</span> <span class="var-name">$errcontext</span>)
|
|
</div>
|
|
|
|
<ul class="parameters">
|
|
<li>
|
|
<span class="var-type">integer</span>
|
|
<span class="var-name">$errno</span><span class="var-description">: the level of the error raised</span> </li>
|
|
<li>
|
|
<span class="var-type">string</span>
|
|
<span class="var-name">$errstr</span><span class="var-description">: the error message</span> </li>
|
|
<li>
|
|
<span class="var-type">string</span>
|
|
<span class="var-name">$errfile</span><span class="var-description">: filename that the error was raised in</span> </li>
|
|
<li>
|
|
<span class="var-type">integer</span>
|
|
<span class="var-name">$errline</span><span class="var-description">: line number the error was raised at</span> </li>
|
|
<li>
|
|
<span class="var-type">array</span>
|
|
<span class="var-name">$errcontext</span><span class="var-description">: array of every variable that existed in scope</span> </li>
|
|
</ul>
|
|
|
|
|
|
</div>
|
|
<a name="function__handleException" id="function__handleException"><!-- --></a>
|
|
<div class="oddrow">
|
|
|
|
<div>
|
|
<span class="method-title">__handleException</span> (line <span class="line-number">245</span>)
|
|
</div>
|
|
|
|
<!-- ========== Info from phpDoc block ========= -->
|
|
<p class="short-description">Top level exception handling function</p>
|
|
<p class="description"><p>Catches uncaught exceptions and displays them.</p></p>
|
|
|
|
<div class="method-signature">
|
|
<span class="method-result">void</span>
|
|
<span class="method-name">
|
|
__handleException
|
|
</span>
|
|
(<span class="var-type">object</span> <span class="var-name">$exception</span>)
|
|
</div>
|
|
|
|
<ul class="parameters">
|
|
<li>
|
|
<span class="var-type">object</span>
|
|
<span class="var-name">$exception</span><span class="var-description">: the exception</span> </li>
|
|
</ul>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<p class="notes" id="credit">
|
|
Documentation generated on Sun, 14 Oct 2012 14:02:19 -0400 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.4</a>
|
|
</p>
|
|
</div></body>
|
|
</html> |