[pLog-svn] r2116 - in plog/branches/plog-1.1-ben: . class/action
class/action/admin class/cache class/cache/Cache_Lite
class/dao class/data class/template
ork at devel.plogworld.net
ork at devel.plogworld.net
Mon May 30 12:10:43 GMT 2005
Author: ork
Date: 2005-05-30 12:10:43 +0000 (Mon, 30 May 2005)
New Revision: 2116
Modified:
plog/branches/plog-1.1-ben/class/action/admin/adminaction.class.php
plog/branches/plog-1.1-ben/class/action/blogaction.class.php
plog/branches/plog-1.1-ben/class/cache/Cache_Lite/Lite.php
plog/branches/plog-1.1-ben/class/cache/cachemanager.class.php
plog/branches/plog-1.1-ben/class/dao/article.class.php
plog/branches/plog-1.1-ben/class/dao/articles.class.php
plog/branches/plog-1.1-ben/class/dao/bloglinks.class.php
plog/branches/plog-1.1-ben/class/data/Date.class.php
plog/branches/plog-1.1-ben/class/template/template.class.php
plog/branches/plog-1.1-ben/wizard.php
Log:
changed according to our Coding Guidelines
Modified: plog/branches/plog-1.1-ben/class/action/admin/adminaction.class.php
===================================================================
--- plog/branches/plog-1.1-ben/class/action/admin/adminaction.class.php 2005-05-30 11:17:34 UTC (rev 2115)
+++ plog/branches/plog-1.1-ben/class/action/admin/adminaction.class.php 2005-05-30 12:10:43 UTC (rev 2116)
@@ -81,7 +81,7 @@
*/
function _getBlogInfo()
{
- // TBD: this is not good yet..
+ // :TODO: this is not good yet..
require_once( PLOG_CLASS_PATH . "class/cache/bloginfomanager.class.php" );
$session = HttpVars::getSession();
Modified: plog/branches/plog-1.1-ben/class/action/blogaction.class.php
===================================================================
--- plog/branches/plog-1.1-ben/class/action/blogaction.class.php 2005-05-30 11:17:34 UTC (rev 2115)
+++ plog/branches/plog-1.1-ben/class/action/blogaction.class.php 2005-05-30 12:10:43 UTC (rev 2116)
@@ -212,7 +212,7 @@
}
else {
// to much overhead for just getting the current date
- // TBD: but we might need to read the timezone to enter a valid date.. not sure ..
+ // :TODO: but we might need to read the timezone to enter a valid date.. not sure ..
// $t = new Timestamp();
// $year = $t->getYear();
$year = date('Y');
Modified: plog/branches/plog-1.1-ben/class/cache/Cache_Lite/Lite.php
===================================================================
--- plog/branches/plog-1.1-ben/class/cache/Cache_Lite/Lite.php 2005-05-30 11:17:34 UTC (rev 2115)
+++ plog/branches/plog-1.1-ben/class/cache/Cache_Lite/Lite.php 2005-05-30 12:10:43 UTC (rev 2116)
@@ -283,7 +283,7 @@
$data = false;
if ($this->_caching) {
$this->_setFileName($id, $group);
-// TBD: we won't have memory caching at all ..
+// :TODO: we won't have memory caching at all ..
// if ($this->_memoryCaching) {
// if (isset($this->_memoryCachingArray[$this->_file])) {
// if ($this->_automaticSerialization) {
@@ -335,7 +335,7 @@
if (isset($id)) {
$this->_setFileName($id, $group);
}
-// TBD: we won't have memory caching at all..
+// :TODO: we won't have memory caching at all..
// if ($this->_memoryCaching) {
// $this->_memoryCacheAdd($this->_file, $data);
// if ($this->_onlyMemoryCaching) {
@@ -373,7 +373,7 @@
function remove($id, $group = 'default')
{
$this->_setFileName($id, $group);
-// TBD: we won't have memory caching at all..
+// :TODO: we won't have memory caching at all..
// if ($this->_memoryCaching) {
// if (isset($this->_memoryCachingArray[$this->_file])) {
// unset($this->_memoryCachingArray[$this->_file]);
Modified: plog/branches/plog-1.1-ben/class/cache/cachemanager.class.php
===================================================================
--- plog/branches/plog-1.1-ben/class/cache/cachemanager.class.php 2005-05-30 11:17:34 UTC (rev 2115)
+++ plog/branches/plog-1.1-ben/class/cache/cachemanager.class.php 2005-05-30 12:10:43 UTC (rev 2116)
@@ -22,9 +22,9 @@
define( "CACHE_ARTICLES", "articles" );
define( "CACHE_ARTICLETITLES", "articles_titles" );
- // TBD: implement a cache-lifetime per cache-category, so e.g. blogInfo or
- // locales have a lifetime of several days, whereas articles, comments,
- // etc will only be cached for an hour.
+ // :TODO: implement a cache-lifetime per cache-category, so e.g. blogInfo or
+ // locales have a lifetime of several days, whereas articles, comments,
+ // etc will only be cached for an hour.
/**
* Provides a singleton for storing and retrieving data from a global cache.
Modified: plog/branches/plog-1.1-ben/class/dao/article.class.php
===================================================================
--- plog/branches/plog-1.1-ben/class/dao/article.class.php 2005-05-30 11:17:34 UTC (rev 2115)
+++ plog/branches/plog-1.1-ben/class/dao/article.class.php 2005-05-30 12:10:43 UTC (rev 2116)
@@ -233,6 +233,7 @@
* when calling getUser(), i've added getUserId() which is more
* precise, but left this one in here to stay backward compatible.
*
+ * @deprecated Use getUserId() instead
* @return An integer value representing the user idenfitier.
* @see getUserInfo
*/
@@ -331,6 +332,7 @@
* when calling getBlog(), i've added getBlogId() which is more
* precise, but left this one in here to stay backward compatible.
*
+ * @deprecated Use getBlogId() instead
* @return An integer value representing the blog identifier.
* @see getBlogInfo
*/
Modified: plog/branches/plog-1.1-ben/class/dao/articles.class.php
===================================================================
--- plog/branches/plog-1.1-ben/class/dao/articles.class.php 2005-05-30 11:17:34 UTC (rev 2115)
+++ plog/branches/plog-1.1-ben/class/dao/articles.class.php 2005-05-30 12:10:43 UTC (rev 2116)
@@ -65,7 +65,7 @@
$article = $this->_fillArticleInformation( $result->FetchRow( $result ) );
// update the cache
- // TBD: the cache will never be erased currently
+ // :TODO: the cache will never be erased currently
$this->_cache->setData( $article->getId(), CACHE_ARTICLES, $article );
}
return $article;
@@ -127,8 +127,8 @@
* if there're more than one article with the same title, you will
* always get only one of them.
*
- * TBD: includeHiddenFields has no meaning, this should be removed
- * TBD: this method is rather long, maybe we can shorten it somehow.
+ * :TODO: includeHiddenFields has no meaning, this should be removed
+ * :TODO: this method is rather long, maybe we can shorten it somehow.
*
* @param artTitle Identifier of the article we want to fetch
* @param blogId If set, the article must belong to the given blog
Modified: plog/branches/plog-1.1-ben/class/dao/bloglinks.class.php
===================================================================
--- plog/branches/plog-1.1-ben/class/dao/bloglinks.class.php 2005-05-30 11:17:34 UTC (rev 2115)
+++ plog/branches/plog-1.1-ben/class/dao/bloglinks.class.php 2005-05-30 12:10:43 UTC (rev 2116)
@@ -67,8 +67,8 @@
/**
* Get specific link of current blog
*
- * TBD: this method is not yet used, we might change a few admin panels to use this method
- * instead of myLinks->getMyLink().
+ * :TODO: this method is not yet used, we might change a few admin panels to use this method
+ * instead of myLinks->getMyLink().
* (2005-05-22 ork at devel.plogworld.net)
*
* @param linkId The id of the link to get
Modified: plog/branches/plog-1.1-ben/class/data/Date.class.php
===================================================================
--- plog/branches/plog-1.1-ben/class/data/Date.class.php 2005-05-30 11:17:34 UTC (rev 2115)
+++ plog/branches/plog-1.1-ben/class/data/Date.class.php 2005-05-30 12:10:43 UTC (rev 2116)
@@ -360,7 +360,7 @@
$output .= "\n";
break;
case "O":
- // TBD: fix me .. this is just a hack right now, we need to calculate the correct offset
+ // :TODO: fix me .. this is just a hack right now, we need to calculate the correct offset
$output .= $this->offset;
break;
$offms = $this->tz->getOffset($this);
Modified: plog/branches/plog-1.1-ben/class/template/template.class.php
===================================================================
--- plog/branches/plog-1.1-ben/class/template/template.class.php 2005-05-30 11:17:34 UTC (rev 2115)
+++ plog/branches/plog-1.1-ben/class/template/template.class.php 2005-05-30 12:10:43 UTC (rev 2116)
@@ -52,7 +52,7 @@
function Template( $templateFile )
{
// initialize logging
- // TBD: we need define a global logging switch like logging_enabled
+ // :TODO: we need define a global logging switch like logging_enabled
// include_once( PLOG_CLASS_PATH.'class/logger/loggermanager.class.php' );
// $this->log =& LoggerManager::getLogger( "default" );
Modified: plog/branches/plog-1.1-ben/wizard.php
===================================================================
--- plog/branches/plog-1.1-ben/wizard.php 2005-05-30 11:17:34 UTC (rev 2115)
+++ plog/branches/plog-1.1-ben/wizard.php 2005-05-30 12:10:43 UTC (rev 2116)
@@ -986,7 +986,7 @@
$plogUrl = $httpProtocol.$httpHost.$requestUrl;
// Find some of the tools we are going to need (last one is for os x, with fink installed)
- // TBD: support for Windows specific directories
+ // :TODO: support for Windows specific directories
$folders = Array( "/bin/", "/usr/bin/", "/usr/local/bin/", "/sw/bin/" );
$finder = new FileFinder();
$pathToUnzip = $finder->findBinary( "unzip", $folders );
More information about the pLog-svn
mailing list