Changeset 701
- Timestamp:
- 12/15/07 14:40:15 (1 year ago)
- Files:
-
- trunk/lib/jelix/core-modules/jelix/controllers/error.classic.php (modified) (1 diff)
- trunk/lib/jelix/core-modules/jelix/controllers/error.classic.php (modified) (1 diff)
- trunk/lib/jelix/core-modules/jelix/controllers/error.jsonrpc.php (modified) (1 diff)
- trunk/lib/jelix/core-modules/jelix/controllers/error.jsonrpc.php (modified) (1 diff)
- trunk/lib/jelix/core-modules/jelix/controllers/error.rdf.php (modified) (1 diff)
- trunk/lib/jelix/core-modules/jelix/controllers/error.rdf.php (modified) (1 diff)
- trunk/lib/jelix/core-modules/jelix/controllers/error.xmlrpc.php (modified) (1 diff)
- trunk/lib/jelix/core-modules/jelix/controllers/error.xmlrpc.php (modified) (1 diff)
- trunk/lib/jelix/core-modules/jelix/controllers/error.xul.php (modified) (1 diff)
- trunk/lib/jelix/core-modules/jelix/controllers/error.xul.php (modified) (1 diff)
- trunk/lib/jelix/core-modules/jelix/controllers/help.cmdline.php (modified) (1 diff)
- trunk/lib/jelix/core-modules/jelix/controllers/help.cmdline.php (modified) (1 diff)
- trunk/lib/jelix/core/jCoordinator.class.php (modified) (2 diffs)
- trunk/lib/jelix/core/jCoordinator.class.php (modified) (2 diffs)
- trunk/lib/jelix/core/jSession.class.php (modified) (8 diffs)
- trunk/lib/jelix/core/jSession.class.php (modified) (8 diffs)
- trunk/lib/jelix/core/response/jResponseLatexToPdf.class.php (modified) (1 diff)
- trunk/lib/jelix/core/response/jResponseLatexToPdf.class.php (modified) (1 diff)
- trunk/lib/jelix/core/response/jResponseRedirectUrl.class.php (modified) (1 diff)
- trunk/lib/jelix/core/response/jResponseRedirectUrl.class.php (modified) (1 diff)
- trunk/lib/jelix/core/response/jResponseTcpdf.class.php (modified) (2 diffs)
- trunk/lib/jelix/core/response/jResponseTcpdf.class.php (modified) (2 diffs)
- trunk/lib/jelix/dao/jDaoFactoryBase.class.php (modified) (1 diff)
- trunk/lib/jelix/dao/jDaoFactoryBase.class.php (modified) (1 diff)
- trunk/lib/jelix/db/jDbConnection.class.php (modified) (2 diffs)
- trunk/lib/jelix/db/jDbConnection.class.php (modified) (2 diffs)
- trunk/lib/jelix/db/jDbPDOConnection.class.php (modified) (3 diffs)
- trunk/lib/jelix/db/jDbPDOConnection.class.php (modified) (3 diffs)
- trunk/lib/jelix/tpl/jTpl.class.php (modified) (1 diff)
- trunk/lib/jelix/tpl/jTpl.class.php (modified) (1 diff)
- trunk/lib/jelix/utils/jDatatype.class.php (modified) (1 diff)
- trunk/lib/jelix/utils/jDatatype.class.php (modified) (1 diff)
- trunk/lib/jelix/utils/jTcpdf.class.php (modified) (2 diffs)
- trunk/lib/jelix/utils/jTcpdf.class.php (modified) (2 diffs)
- trunk/Makefile (modified) (1 diff)
- trunk/Makefile (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/lib/jelix/core-modules/jelix/controllers/error.classic.php
r699 r701 9 9 10 10 /** 11 * 11 * @package jelix-modules 12 * @subpackage jelix 12 13 */ 13 14 class errorCtrl extends jController { trunk/lib/jelix/core-modules/jelix/controllers/error.classic.php
r699 r701 9 9 10 10 /** 11 * 11 * @package jelix-modules 12 * @subpackage jelix 12 13 */ 13 14 class errorCtrl extends jController { trunk/lib/jelix/core-modules/jelix/controllers/error.jsonrpc.php
r699 r701 9 9 10 10 /** 11 * 11 * @package jelix-modules 12 * @subpackage jelix 12 13 */ 13 14 class errorCtrl extends jController { trunk/lib/jelix/core-modules/jelix/controllers/error.jsonrpc.php
r699 r701 9 9 10 10 /** 11 * 11 * @package jelix-modules 12 * @subpackage jelix 12 13 */ 13 14 class errorCtrl extends jController { trunk/lib/jelix/core-modules/jelix/controllers/error.rdf.php
r699 r701 9 9 10 10 /** 11 * 11 * @package jelix-modules 12 * @subpackage jelix 12 13 */ 13 14 class errorCtrl extends jController { trunk/lib/jelix/core-modules/jelix/controllers/error.rdf.php
r699 r701 9 9 10 10 /** 11 * 11 * @package jelix-modules 12 * @subpackage jelix 12 13 */ 13 14 class errorCtrl extends jController { trunk/lib/jelix/core-modules/jelix/controllers/error.xmlrpc.php
r699 r701 9 9 10 10 /** 11 * 11 * @package jelix-modules 12 * @subpackage jelix 12 13 */ 13 14 class errorCtrl extends jController { trunk/lib/jelix/core-modules/jelix/controllers/error.xmlrpc.php
r699 r701 9 9 10 10 /** 11 * 11 * @package jelix-modules 12 * @subpackage jelix 12 13 */ 13 14 class errorCtrl extends jController { trunk/lib/jelix/core-modules/jelix/controllers/error.xul.php
r699 r701 9 9 10 10 /** 11 * 11 * @package jelix-modules 12 * @subpackage jelix 12 13 */ 13 14 class errorCtrl extends jController { trunk/lib/jelix/core-modules/jelix/controllers/error.xul.php
r699 r701 9 9 10 10 /** 11 * 11 * @package jelix-modules 12 * @subpackage jelix 12 13 */ 13 14 class errorCtrl extends jController { trunk/lib/jelix/core-modules/jelix/controllers/help.cmdline.php
r699 r701 9 9 10 10 /** 11 * 11 * @package jelix-modules 12 * @subpackage jelix 12 13 */ 13 14 class helpCtrl extends jControllerCmdLine { trunk/lib/jelix/core-modules/jelix/controllers/help.cmdline.php
r699 r701 9 9 10 10 /** 11 * 11 * @package jelix-modules 12 * @subpackage jelix 12 13 */ 13 14 class helpCtrl extends jControllerCmdLine { trunk/lib/jelix/core/jCoordinator.class.php
r699 r701 67 67 * List of all log messages 68 68 * @var array 69 * @since 1.0 69 70 */ 70 71 public $logMessages=array(); … … 153 154 * of the logMessages properties to display them. 154 155 * @param string $message error message 156 * @since 1.0 155 157 */ 156 158 public function addLogMsg($message, $type='default'){ trunk/lib/jelix/core/jCoordinator.class.php
r699 r701 67 67 * List of all log messages 68 68 * @var array 69 * @since 1.0 69 70 */ 70 71 public $logMessages=array(); … … 153 154 * of the logMessages properties to display them. 154 155 * @param string $message error message 156 * @since 1.0 155 157 */ 156 158 public function addLogMsg($message, $type='default'){ trunk/lib/jelix/core/jSession.class.php
r673 r701 8 8 * @link http://www.jelix.org 9 9 * @licence GNU Lesser General Public Licence see LICENCE file or http://www.gnu.org/licenses/lgpl.html 10 * @since 1.0 10 11 */ 11 12 … … 15 16 * @package jelix 16 17 * @subpackage core 18 * @since 1.0 17 19 */ 18 20 class jSession { … … 20 22 protected static $_params; 21 23 24 /** 25 * start a session 26 */ 22 27 public static function start(){ 23 28 $params = $GLOBALS['gJConfig']->sessions; … … 55 60 } 56 61 57 62 /** 63 * end a session 64 */ 58 65 public static function end(){ 59 66 session_write_close(); … … 72 79 } 73 80 74 81 /** 82 * dao handler for session stored in database 83 */ 75 84 public static function daoOpen ($save_path, $session_name) { 76 85 return true; 77 86 } 78 87 79 88 /** 89 * dao handler for session stored in database 90 */ 80 91 public static function daoClose() { 81 92 return true; 82 93 } 83 94 84 95 /** 96 * dao handler for session stored in database 97 */ 85 98 public static function daoRead ($id) { 86 99 $session = self::_getDao()->get($id); … … 93 106 } 94 107 95 108 /** 109 * dao handler for session stored in database 110 */ 96 111 public static function daoWrite ($id, $data) { 97 112 $dao = self::_getDao(); … … 112 127 } 113 128 114 129 /** 130 * dao handler for session stored in database 131 */ 115 132 public static function daoDestroy ($id) { 116 133 if (isset($_COOKIE[session_name()])) { … … 122 139 } 123 140 124 141 /** 142 * dao handler for session stored in database 143 */ 125 144 public static function daoGarbageCollector ($maxlifetime) { 126 145 $date = new jDateTime(); trunk/lib/jelix/core/jSession.class.php
r673 r701 8 8 * @link http://www.jelix.org 9 9 * @licence GNU Lesser General Public Licence see LICENCE file or http://www.gnu.org/licenses/lgpl.html 10 * @since 1.0 10 11 */ 11 12 … … 15 16 * @package jelix 16 17 * @subpackage core 18 * @since 1.0 17 19 */ 18 20 class jSession { … … 20 22 protected static $_params; 21 23 24 /** 25 * start a session 26 */ 22 27 public static function start(){ 23 28 $params = $GLOBALS['gJConfig']->sessions; … … 55 60 } 56 61 57 62 /** 63 * end a session 64 */ 58 65 public static function end(){ 59 66 session_write_close(); … … 72 79 } 73 80 74 81 /** 82 * dao handler for session stored in database 83 */ 75 84 public static function daoOpen ($save_path, $session_name) { 76 85 return true; 77 86 } 78 87 79 88 /** 89 * dao handler for session stored in database 90 */ 80 91 public static function daoClose() { 81 92 return true; 82 93 } 83 94 84 95 /** 96 * dao handler for session stored in database 97 */ 85 98 public static function daoRead ($id) { 86 99 $session = self::_getDao()->get($id); … … 93 106 } 94 107 95 108 /** 109 * dao handler for session stored in database 110 */ 96 111 public static function daoWrite ($id, $data) { 97 112 $dao = self::_getDao(); … … 112 127 } 113 128 114 129 /** 130 * dao handler for session stored in database 131 */ 115 132 public static function daoDestroy ($id) { 116 133 if (isset($_COOKIE[session_name()])) { … … 122 139 } 123 140 124 141 /** 142 * dao handler for session stored in database 143 */ 125 144 public static function daoGarbageCollector ($maxlifetime) { 126 145 $date = new jDateTime(); trunk/lib/jelix/core/response/jResponseLatexToPdf.class.php
r699 r701 55 55 public $pdflatexPath='pdflatex'; 56 56 57 /** 58 * path to the cache directory. 59 * default is directory responseLatexToPdf in temp directory 60 * @since 1.0 61 */ 57 62 public $cachePath= ''; 58 63 trunk/lib/jelix/core/response/jResponseLatexToPdf.class.php
r699 r701 55 55 public $pdflatexPath='pdflatex'; 56 56 57 /** 58 * path to the cache directory. 59 * default is directory responseLatexToPdf in temp directory 60 * @since 1.0 61 */ 57 62 public $cachePath= ''; 58 63 trunk/lib/jelix/core/response/jResponseRedirectUrl.class.php
r627 r701 29 29 * set the url with the referer URL 30 30 * @return boolean true if there is a referer URL 31 * @since 1.0 31 32 */ 32 33 public function toReferer($defaultUrl='') { trunk/lib/jelix/core/response/jResponseRedirectUrl.class.php
r627 r701 29 29 * set the url with the referer URL 30 30 * @return boolean true if there is a referer URL 31 * @since 1.0 31 32 */ 32 33 public function toReferer($defaultUrl='') { trunk/lib/jelix/core/response/jResponseTcpdf.class.php
r698 r701 8 8 * @link http://www.jelix.org 9 9 * @licence GNU Lesser General Public Licence see LICENCE file or http://www.gnu.org/licenses/lgpl.html 10 * @since 1.0 10 11 */ 11 12 12 13 /** 14 * 15 */ 13 16 require_once (JELIX_LIB_UTILS_PATH.'jTcpdf.class.php'); 14 17 … … 17 20 * @package jelix 18 21 * @subpackage core_response 22 * @since 1.0 19 23 */ 20 24 class jResponseTcpdf extends jResponse { trunk/lib/jelix/core/response/jResponseTcpdf.class.php
r698 r701 8 8 * @link http://www.jelix.org 9 9 * @licence GNU Lesser General Public Licence see LICENCE file or http://www.gnu.org/licenses/lgpl.html 10 * @since 1.0 10 11 */ 11 12 12 13 /** 14 * 15 */ 13 16 require_once (JELIX_LIB_UTILS_PATH.'jTcpdf.class.php'); 14 17 … … 17 20 * @package jelix 18 21 * @subpackage core_response 22 * @since 1.0 19 23 */ 20 24 class jResponseTcpdf extends jResponse { trunk/lib/jelix/dao/jDaoFactoryBase.class.php
r699 r701 71 71 72 72 /** 73 * 73 * @since 1.0 74 74 */ 75 75 protected $_deleteBeforeEvent = false; 76 /** 77 * @since 1.0 78 */ 76 79 protected $_deleteAfterEvent = false; 80 /** 81 * @since 1.0 82 */ 77 83 protected $_deleteByBeforeEvent = false; 84 /** 85 * @since 1.0 86 */ 78 87 protected $_deleteByAfterEvent = false; 79 88 89 /** 90 * @since 1.0 91 */ 80 92 protected $trueValue = 1; 93 /** 94 * @since 1.0 95 */ 81 96 protected $falseValue = 0; 82 97 /** trunk/lib/jelix/dao/jDaoFactoryBase.class.php
r699 r701 71 71 72 72 /** 73 * 73 * @since 1.0 74 74 */ 75 75 protected $_deleteBeforeEvent = false; 76 /** 77 * @since 1.0 78 */ 76 79 protected $_deleteAfterEvent = false; 80 /** 81 * @since 1.0 82 */ 77 83 protected $_deleteByBeforeEvent = false; 84 /** 85 * @since 1.0 86 */ 78 87 protected $_deleteByAfterEvent = false; 79 88 89 /** 90 * @since 1.0 91 */ 80 92 protected $trueValue = 1; 93 /** 94 * @since 1.0 95 */ 81 96 protected $falseValue = 0; 82 97 /** trunk/lib/jelix/db/jDbConnection.class.php
r699 r701 127 127 * @return string the prefixed table's name 128 128 * @author Julien Issler 129 **/ 129 * @since 1.0 130 */ 130 131 public function prefixTable($table_name){ 131 132 if(!isset($this->profil['table_prefix'])) … … 139 140 * @return boolean 140 141 * @author Julien Issler 141 **/ 142 * @since 1.0 143 */ 142 144 public function hasTablePrefix(){ 143 145 return (isset($this->profil['table_prefix']) && $this->profil['table_prefix'] != ''); trunk/lib/jelix/db/jDbConnection.class.php
r699 r701 127 127 * @return string the prefixed table's name 128 128 * @author Julien Issler 129 **/ 129 * @since 1.0 130 */ 130 131 public function prefixTable($table_name){ 131 132 if(!isset($this->profil['table_prefix'])) … … 139 140 * @return boolean 140 141 * @author Julien Issler 141 **/ 142 * @since 1.0 143 */ 142 144 public function hasTablePrefix(){ 143 145 return (isset($this->profil['table_prefix']) && $this->profil['table_prefix'] != ''); trunk/lib/jelix/db/jDbPDOConnection.class.php
r699 r701 60 60 * PDO constant name have been change between php 5.0 and 5.1. So we use our own constant. 61 61 * @link http://lxr.php.net/source/php-src/ext/pdo/php_pdo_driver.h 62 * @since 1.0 62 63 */ 63 64 const JPDO_FETCH_OBJ = 5; // PDO::FETCH_OBJ … … 183 184 * @return string the prefixed table's name 184 185 * @author Julien Issler 186 * @since 1.0 185 187 */ 186 188 public function prefixTable($table_name){ … … 195 197 * @return boolean 196 198 * @author Julien Issler 199 * @since 1.0 197 200 */ 198 201 public function hasTablePrefix(){ trunk/lib/jelix/db/jDbPDOConnection.class.php
r699 r701 60 60 * PDO constant name have been change between php 5.0 and 5.1. So we use our own constant. 61 61 * @link http://lxr.php.net/source/php-src/ext/pdo/php_pdo_driver.h 62 * @since 1.0 62 63 */ 63 64 const JPDO_FETCH_OBJ = 5; // PDO::FETCH_OBJ … … 183 184 * @return string the prefixed table's name 184 185 * @author Julien Issler 186 * @since 1.0 185 187 */ 186 188 public function prefixTable($table_name){ … … 195 197 * @return boolean 196 198 * @author Julien Issler 199 * @since 1.0 197 200 */ 198 201 public function hasTablePrefix(){ trunk/lib/jelix/tpl/jTpl.class.php
r691 r701 120 120 * @param array $params parameters for the zone 121 121 * @see jZone 122 * @since 1.0 122 123 */ 123 124 function appendZone($name, $zoneName, $params=array()){ trunk/lib/jelix/tpl/jTpl.class.php
r691 r701 120 120 * @param array $params parameters for the zone 121 121 * @see jZone 122 * @since 1.0 122 123 */ 123 124 function appendZone($name, $zoneName, $params=array()){ trunk/lib/jelix/utils/jDatatype.class.php
r699 r701 170 170 } 171 171 /** 172 * @since 1.0 RC1172 * @since 1.0 173 173 */ 174 174 public function getFormat() { return $this->format; } trunk/lib/jelix/utils/jDatatype.class.php
r699 r701 170 170 } 171 171 /** 172 * @since 1.0 RC1172 * @since 1.0 173 173 */ 174 174 public function getFormat() { return $this->format; } trunk/lib/jelix/utils/jTcpdf.class.php
r696 r701 8 8 * @link http://www.jelix.org 9 9 * @licence GNU Lesser General Public Licence see LICENCE file or http://www.gnu.org/licenses/lgpl.html 10 * @since 1.0 10 11 */ 11 12 13 /** 14 * 15 */ 12 16 require_once (LIB_PATH.'tcpdf/tcpdf.php'); 13 17 … … 16 20 * @package jelix 17 21 * @subpackage utils 22 * @since 1.0 18 23 */ 19 24 class jTcpdf extends TCPDF { trunk/lib/jelix/utils/jTcpdf.class.php
r696 r701 8 8 * @link http://www.jelix.org 9 9 * @licence GNU Lesser General Public Licence see LICENCE file or http://www.gnu.org/licenses/lgpl.html 10 * @since 1.0 10 11 */ 11 12 13 /** 14 * 15 */ 12 16 require_once (LIB_PATH.'tcpdf/tcpdf.php'); 13 17 … … 16 20 * @package jelix 17 21 * @subpackage utils 22 * @since 1.0 18 23 */ 19 24 class jTcpdf extends TCPDF { trunk/Makefile
r677 r701 46 46 $(PHP) build/buildjelix.php -D $(TESTPATHSWITCH) build/config/jelix-test.ini 47 47 cp -R -f build/phpdoc/Converters/HTML/frames $(PHPDOC)phpDocumentor/Converters/HTML/ 48 $(PHPDOC)phpdoc -d $(TESTPATH)/lib/jelix/ -t $(DOCSPATH) \ 48 $(PHPDOC)phpdoc \ 49 -d $(TESTPATH)/lib/jelix/,$(TESTPATH)/lib/jelix-modules/,$(TESTPATH)/lib/diff/,$(TESTPATH)/lib/json/,$(TESTPATH)/lib/tcpdf/,$(TESTPATH)/lib/wikirenderer/ \ 50 -t $(DOCSPATH) \ 49 51 -o "HTML:frames:DOM/jelix" -s on -ct "contributor,licence" -i *.ini.php \ 50 52 -ti "Jelix API Reference" -ric "README,INSTALL,CHANGELOG,CREDITS,LICENCE,VERSION,BUILD" trunk/Makefile
r677 r701 46 46 $(PHP) build/buildjelix.php -D $(TESTPATHSWITCH) build/config/jelix-test.ini 47 47 cp -R -f build/phpdoc/Converters/HTML/frames $(PHPDOC)phpDocumentor/Converters/HTML/ 48 $(PHPDOC)phpdoc -d $(TESTPATH)/lib/jelix/ -t $(DOCSPATH) \ 48 $(PHPDOC)phpdoc \ 49 -d $(TESTPATH)/lib/jelix/,$(TESTPATH)/lib/jelix-modules/,$(TESTPATH)/lib/diff/,$(TESTPATH)/lib/json/,$(TESTPATH)/lib/tcpdf/,$(TESTPATH)/lib/wikirenderer/ \ 50 -t $(DOCSPATH) \ 49 51 -o "HTML:frames:DOM/jelix" -s on -ct "contributor,licence" -i *.ini.php \ 50 52 -ti "Jelix API Reference" -ric "README,INSTALL,CHANGELOG,CREDITS,LICENCE,VERSION,BUILD"
