Author: gimler
Date: 2010-02-07 20:51:27 +0100 (Sun, 07 Feb 2010)
New Revision: 27659
Modified:
plugins/diemPlugin/tags/RELEASE_5_0_0_BETA5/dmCorePlugin/lib/action/dmBaseActions.php
plugins/diemPlugin/tags/RELEASE_5_0_0_BETA5/dmCorePlugin/lib/basic/dmArray.php
plugins/diemPlugin/tags/RELEASE_5_0_0_BETA5/dmCorePlugin/lib/basic/dmString.php
plugins/diemPlugin/tags/RELEASE_5_0_0_BETA5/dmCorePlugin/lib/module/dmModule.php
plugins/diemPlugin/tags/RELEASE_5_0_0_BETA5/dmCorePlugin/lib/module/dmModuleManager.php
plugins/diemPlugin/tags/RELEASE_5_0_0_BETA5/dmCorePlugin/lib/module/dmModuleType.php
plugins/diemPlugin/tags/RELEASE_5_0_0_BETA5/dmCorePlugin/lib/module/dmProjectModule.php
Log:
[Diem] fix phpdocs
Modified:
plugins/diemPlugin/tags/RELEASE_5_0_0_BETA5/dmCorePlugin/lib/action/dmBaseActions.php
===================================================================
---
plugins/diemPlugin/tags/RELEASE_5_0_0_BETA5/dmCorePlugin/lib/action/dmBaseActions.php
2010-02-07 19:50:03 UTC (rev 27658)
+++
plugins/diemPlugin/tags/RELEASE_5_0_0_BETA5/dmCorePlugin/lib/action/dmBaseActions.php
2010-02-07 19:51:27 UTC (rev 27659)
@@ -138,8 +138,11 @@
return $this->getServiceContainer()->getService($serviceName, $class);
}
- /*
+ /**
* To download a file using its absolute path or raw data
+ *
+ * @param mixed $pathOrData path to file or raw data
+ * @param array $options optional information file_name and type
*/
protected function download($pathOrData, array $options = array())
{
Modified:
plugins/diemPlugin/tags/RELEASE_5_0_0_BETA5/dmCorePlugin/lib/basic/dmArray.php
===================================================================
---
plugins/diemPlugin/tags/RELEASE_5_0_0_BETA5/dmCorePlugin/lib/basic/dmArray.php
2010-02-07 19:50:03 UTC (rev 27658)
+++
plugins/diemPlugin/tags/RELEASE_5_0_0_BETA5/dmCorePlugin/lib/basic/dmArray.php
2010-02-07 19:51:27 UTC (rev 27659)
@@ -3,7 +3,7 @@
class dmArray
{
- /*
+ /**
* Sets each array key to its corresponding value
*/
public static function valueToKey($array)
@@ -17,7 +17,7 @@
return $tmp;
}
- /*
+ /**
* Returns the value of an array, if the key exists
*/
public static function get($array, $key, $default = null, $defaultIfNull =
false)
Modified:
plugins/diemPlugin/tags/RELEASE_5_0_0_BETA5/dmCorePlugin/lib/basic/dmString.php
===================================================================
---
plugins/diemPlugin/tags/RELEASE_5_0_0_BETA5/dmCorePlugin/lib/basic/dmString.php
2010-02-07 19:50:03 UTC (rev 27658)
+++
plugins/diemPlugin/tags/RELEASE_5_0_0_BETA5/dmCorePlugin/lib/basic/dmString.php
2010-02-07 19:51:27 UTC (rev 27659)
@@ -12,7 +12,7 @@
return htmlspecialchars($text, $quoteStyle, 'UTF-8');
}
- /*
+ /**
* Clean dirty strings
*/
public static function unixify($text)
@@ -29,7 +29,7 @@
));
}
- /*
+ /**
* Adds a final 's'
*/
public static function pluralize($word)
@@ -49,7 +49,7 @@
}
}
- /*
+ /**
* Returns a module formatted string
* ModuleName => moduleName
* module_name => moduleName
@@ -64,7 +64,7 @@
return $model;
}
- /*
+ /**
* Returns a camelized string from a lower case and underscored string by
* upper-casing each letter preceded by an underscore.
* modelName => ModelName
@@ -109,7 +109,7 @@
return parent::humanize(self::underscore($text));
}
- /*
+ /**
* Transform any text into a valid slug
* @return string slug
*/
@@ -137,7 +137,7 @@
return $text;
}
- /*
+ /**
* Transform a slug into a human readable text with blank spaces
* @return string text
*/
@@ -168,7 +168,7 @@
return $text;
}
- /*
+ /**
* Transform string options to array options
* Symfony and jQuery styles are accepted
* e.g. "#an_id.a_class.another_class an_option=a_value"
@@ -207,7 +207,7 @@
return $array;
}
- /*
+ /**
* Transform css options to array options
* e.g. "#an_id.a_class.another_class"
* results in array(
@@ -292,7 +292,7 @@
$string = '';
}
- /*
+ /**
* Returns a random string
*/
public static function random($length = 8)
@@ -390,7 +390,7 @@
return array();
}
- /*
+ /**
* Returns a valid hex color uppercased without first #,
* or null if not possible
*/
@@ -414,7 +414,7 @@
return $string;
}
- /*
+ /**
* replace $search by $replace in $subject, only once
*/
public static function str_replace_once($search, $replace, $subject)
Modified:
plugins/diemPlugin/tags/RELEASE_5_0_0_BETA5/dmCorePlugin/lib/module/dmModule.php
===================================================================
---
plugins/diemPlugin/tags/RELEASE_5_0_0_BETA5/dmCorePlugin/lib/module/dmModule.php
2010-02-07 19:50:03 UTC (rev 27658)
+++
plugins/diemPlugin/tags/RELEASE_5_0_0_BETA5/dmCorePlugin/lib/module/dmModule.php
2010-02-07 19:51:27 UTC (rev 27659)
@@ -261,7 +261,7 @@
return $this->isProject();
}
- /*
+ /**
* @return dmModuleManager
*/
public function getManager()
Modified:
plugins/diemPlugin/tags/RELEASE_5_0_0_BETA5/dmCorePlugin/lib/module/dmModuleManager.php
===================================================================
---
plugins/diemPlugin/tags/RELEASE_5_0_0_BETA5/dmCorePlugin/lib/module/dmModuleManager.php
2010-02-07 19:50:03 UTC (rev 27658)
+++
plugins/diemPlugin/tags/RELEASE_5_0_0_BETA5/dmCorePlugin/lib/module/dmModuleManager.php
2010-02-07 19:51:27 UTC (rev 27659)
@@ -101,7 +101,7 @@
public function getModuleByModel($model)
{
- /*
+ /**
* do NOT camelize the model
*/
if (isset($this->modelModules[$model]))
@@ -141,7 +141,7 @@
return $modules;
}
- /*
+ /**
* Remove modules wich are child of another modified module
* Keep only rooter modified modules
* @return array of dmModule
Modified:
plugins/diemPlugin/tags/RELEASE_5_0_0_BETA5/dmCorePlugin/lib/module/dmModuleType.php
===================================================================
---
plugins/diemPlugin/tags/RELEASE_5_0_0_BETA5/dmCorePlugin/lib/module/dmModuleType.php
2010-02-07 19:50:03 UTC (rev 27658)
+++
plugins/diemPlugin/tags/RELEASE_5_0_0_BETA5/dmCorePlugin/lib/module/dmModuleType.php
2010-02-07 19:51:27 UTC (rev 27659)
@@ -14,7 +14,7 @@
$this->slug = null;
}
- /*
+ /**
* Bouh
*/
public function isProject()
Modified:
plugins/diemPlugin/tags/RELEASE_5_0_0_BETA5/dmCorePlugin/lib/module/dmProjectModule.php
===================================================================
---
plugins/diemPlugin/tags/RELEASE_5_0_0_BETA5/dmCorePlugin/lib/module/dmProjectModule.php
2010-02-07 19:50:03 UTC (rev 27658)
+++
plugins/diemPlugin/tags/RELEASE_5_0_0_BETA5/dmCorePlugin/lib/module/dmProjectModule.php
2010-02-07 19:51:27 UTC (rev 27659)
@@ -149,7 +149,7 @@
return
$this->getManager()->getModule($descendantKey)->hasAncestor($this->key);
}
- /*
+ /**
* get all the ancestor modules, from farthest to nearest
* @return array an array of moduleKey => dmModule
*/
@@ -165,7 +165,7 @@
return $path;
}
- /*
+ /**
* get ancestor modules, from farthest to nearest, starting to $fromModule
* @return array an array of moduleKey => dmModule
*/
--
You received this message because you are subscribed to the Google Groups
"symfony SVN" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/symfony-svn?hl=en.