euromark 12 years ago
parent
commit
069858c4cf

+ 3 - 1
Console/Command/CopyShell.php

@@ -542,6 +542,7 @@ class CopyShell extends AppShell {
 
 	/**
 	 * Get a list with available configs
+	 *
 	 * @param array $content
 	 * checks on whether all config names are valid!
 	 */
@@ -586,7 +587,7 @@ class CopyShell extends AppShell {
 
 	/**
 	 * Makes sure type matches config name (app = only app configs, no cake or vendor or custom configs!)
-	 * 2009-05-28 ms
+	 * 
 	 * @return string type on success, otherwise boolean false
 	 */
 	protected function typeMatchesConfigName($name, $type) {
@@ -601,6 +602,7 @@ class CopyShell extends AppShell {
 
 	/**
 	 * Return the specific config of a config name
+	 *
 	 * @param string $config name
 	 * @param array $content
 	 */

+ 2 - 2
Console/Command/FolderSyncShell.php

@@ -29,7 +29,7 @@ class FolderSyncShell extends AppShell {
 	public $excludes = array('.git', '.svn');
 
 	/**
-	 * main
+	 * Main
 	 *
 	 * @return void
 	 */
@@ -38,7 +38,7 @@ class FolderSyncShell extends AppShell {
 	}
 
 	/**
-	 * main
+	 * Main
 	 *
 	 * @return void
 	 */

+ 1 - 1
Console/Command/PhpTagShell.php

@@ -27,7 +27,7 @@ class PhpTagShell extends AppShell {
 	}
 
 	/**
-	 * note: uses provided folder (first param)
+	 * Note: uses provided folder (first param)
 	 * otherwise complete APP
 	 *
 	 * @return void

+ 1 - 0
Controller/MyController.php

@@ -99,6 +99,7 @@ class MyController extends Controller {
 
 	/**
 	 * Init Packages class if enabled/included
+	 *
 	 * @deprecated?
 	 */
 	public function beforeRender() {

+ 1 - 1
Lib/Bootstrap/MyBootstrap.php

@@ -530,7 +530,7 @@ function base64UrlDecode($fieldContent) {
 }
 
 /**
- * prettyJson
+ * PrettyJson
  *
  * @link https://github.com/ndejong/pretty_json/blob/master/pretty_json.php
  * @param string $json - the original JSON string

+ 1 - 1
Lib/CurlLib.php

@@ -187,7 +187,7 @@ class CurlLib {
 	}
 
 	/**
-	 * get/set referer
+	 * Get/set referer
 	 *
 	 * @param url
 	 * @return mixed

+ 4 - 1
Lib/CurrencyBitcoinLib.php

@@ -35,7 +35,8 @@ class CurrencyBitcoinLib {
 	}
 
 	/**
-	 * working
+	 * Working
+	 *
 	 * @see http://bitcoincharts.com/about/markets-api/
 	 */
 	public function bitcoincharts($options = array()) {
@@ -84,6 +85,7 @@ class CurrencyBitcoinLib {
 
 	/**
 	 * Calc BTC relative to 1 baseCurrency
+	 *
 	 * @param float $value
 	 * @return float relativeValue
 	 */
@@ -93,6 +95,7 @@ class CurrencyBitcoinLib {
 
 	/**
 	 * Historic trade data
+	 *
 	 * @see http://bitcoincharts.com/about/markets-api/
 	 */
 	public function trades() {

+ 2 - 0
Lib/DiffLib.php

@@ -174,6 +174,7 @@ class DiffLib {
 
 	/**
 	 * Parses a unified diff output
+	 *
 	 * @param array $text an entire section of a unified diff (between @@ lines)
 	 * @param char $_check a '+' or '-' denoting whether we're looking for lines
 	 * added or removed
@@ -249,6 +250,7 @@ class DiffLib {
 
 	/**
 	 * Appends or Replaces text
+	 *
 	 * @param array &$text Array of Line objects
 	 * @param array $change Array of Change objects
 	 * @param integer &$offset how many lines to skip due to previous additions

+ 1 - 0
Lib/Error/MyErrorHandler.php

@@ -123,6 +123,7 @@ class MyErrorHandler extends ErrorHandler {
 
 	/**
 	 * Append some more infos to better track down the error
+	 *
 	 * @return string
 	 */
 	public static function traceDetails() {

+ 2 - 0
Lib/GooglLib.php

@@ -102,6 +102,7 @@ class GooglLib {
 	/**
 	 * FIXME: not working yet
 	 * TODO: use oacurl etc
+	 *
 	 * @return array
 	 */
 	public function getHistory() {
@@ -118,6 +119,7 @@ class GooglLib {
 
 	/**
 	 * Retrieve the url for the statistics page for this key
+	 *
 	 * @param string $key
 	 * @return string url
 	 */

+ 1 - 0
Lib/IcalLib.php

@@ -134,6 +134,7 @@ class IcalLib {
 
 	/**
 	 * Key => value with key as unixTimeStamp and value as summary
+	 *
 	 * @return array
 	 */
 	public function getEventsAsList() {

+ 2 - 0
Lib/ImapLib.php

@@ -189,6 +189,7 @@ class ImapLib {
 	/**
 	 * Main listing of messages
 	 * - body, structure, attachments
+	 *
 	 * @return array
 	 */
 	public function msgList($msgList = array()) {
@@ -544,6 +545,7 @@ class ImapLib {
 
 	/**
 	 * Makes sure imap_open is available etc
+	 *
 	 * @throws InternalErrorException
 	 * @return boolean Success
 	 */

+ 2 - 0
Lib/UserAgentLib.php

@@ -64,6 +64,7 @@ class UserAgentLib extends CakeRequest {
 
 	/**
 	 * Checks bot against list
+	 *
 	 * @param string $userAgent
 	 * @return string
 	 * //TODO use browscap here too if necessary
@@ -82,6 +83,7 @@ class UserAgentLib extends CakeRequest {
 
 	/**
 	 * Checks user against known platforms
+	 *
 	 * @param string $userAgent
 	 * @return string
 	 */

+ 5 - 2
Lib/Utility/TimeLib.php

@@ -62,6 +62,7 @@ class TimeLib extends CakeTime {
 	 * TODO: deprecate in favor of DateTime::diff() etc which will be more precise
 	 *
 	 * should only be used for < month (due to the different month lenghts it gets fuzzy)
+	 *
 	 * @param mixed $start (db format or timestamp)
 	 * @param mixex §end (db format or timestamp)
 	 * @return integer: the distance in seconds
@@ -148,6 +149,7 @@ class TimeLib extends CakeTime {
 	/**
 	 * Try to return the age only with the year available
 	 * can be e.g. 22/23
+	 *
 	 * @param integer $year
 	 * @param integer $month (optional)
 	 * @return integer Age
@@ -284,6 +286,7 @@ class TimeLib extends CakeTime {
 	/**
 	 * Return the timestamp to a day in a specific cweek
 	 * 0=sunday to 7=saturday (default)
+	 *
 	 * @return timestamp of the weekDay
 	 * @FIXME: offset
 	 * not needed, use localDate!
@@ -1190,7 +1193,7 @@ class TimeLib extends CakeTime {
 	}
 
 	/**
-	 * hours, minutes
+	 * Hours, minutes
 	 * e.g. 9.3 => 9.5
 	 *
 	 * @return float
@@ -1207,7 +1210,7 @@ class TimeLib extends CakeTime {
 	}
 
 	/**
-	 * hours, minutes
+	 * Hours, minutes
 	 * e.g. 9.5 => 9.3
 	 * with pad=2: 9.30
 	 *

+ 1 - 1
Lib/Utility/Utility.php

@@ -401,7 +401,7 @@ class Utility {
 	}
 
 	/**
-	 * h() recursivly
+	 * H() recursivly
 	 *
 	 */
 	public static function specialcharsDeep($value) {

+ 2 - 0
Model/Behavior/CaptchaBehavior.php

@@ -164,6 +164,7 @@ class CaptchaBehavior extends ModelBehavior {
 
 	/**
 	 * Return error message (or empty string if none)
+	 *
 	 * @return string
 	 */
 	public function errors() {
@@ -204,6 +205,7 @@ class CaptchaBehavior extends ModelBehavior {
 
 	/**
 	 * Logs attempts
+	 *
 	 * @param boolean ErrorsOnly (only if error occured, otherwise always)
 	 * @returns null if not logged, true otherwise
 	 */

+ 2 - 0
Model/Behavior/CustomFindsBehavior.php

@@ -29,6 +29,7 @@ class CustomFindsBehavior extends ModelBehavior {
 	/**
 	 * Prevent that Containable is loaded after CustomFinds.
 	 * Containable Behavior need to be loaded before CustomFinds Behavior.
+	 *
 	 * @param Model $Model
 	 * @param array $query
 	 */
@@ -96,6 +97,7 @@ class CustomFindsBehavior extends ModelBehavior {
 
 	/**
 	 * Get customFinds at Model and merge with query.
+	 *
 	 * @param Model $Model
 	 * @param array $query
 	 * @return array

+ 2 - 0
Model/Behavior/DecimalInputBehavior.php

@@ -156,6 +156,7 @@ class DecimalInputBehavior extends ModelBehavior {
 
 	/**
 	 * Perform a single transformation
+	 *
 	 * @return string cleanedValue
 	 */
 	public function formatInputOutput(Model $Model, $value, $dir = 'in') {
@@ -182,6 +183,7 @@ class DecimalInputBehavior extends ModelBehavior {
 
 	/**
 	 * Prep the transformation chars
+	 *
 	 * @return void
 	 */
 	protected function _setTransformations(Model $Model, $dir) {

+ 2 - 2
Model/Behavior/HazardableBehavior.php

@@ -54,7 +54,7 @@ class HazardableBehavior extends ModelBehavior {
 	}
 
 	/**
-	 * beforeSave() to inject the hazardous strings into the model data for save().
+	 * BeforeSave() to inject the hazardous strings into the model data for save().
 	 *
 	 * Note: Remember to disable validation as you want to insert those strings just for
 	 * testing purposes.
@@ -74,7 +74,7 @@ class HazardableBehavior extends ModelBehavior {
 	}
 
 	/**
-	 * afterFind() to inject the hazardous strings into the retrieved model data.
+	 * AfterFind() to inject the hazardous strings into the retrieved model data.
 	 * Only activate this if you have not persistently stored any hazardous strings yet.
 	 */
 	public function afterFind(Model $Model, $results, $primary = false) {

+ 2 - 0
Model/Behavior/NumberFormatBehavior.php

@@ -156,6 +156,7 @@ class NumberFormatBehavior extends ModelBehavior {
 
 	/**
 	 * Perform a single transformation
+	 *
 	 * @return string cleanedValue
 	 */
 	public function formatInputOutput(Model $Model, $value, $dir = 'in') {
@@ -182,6 +183,7 @@ class NumberFormatBehavior extends ModelBehavior {
 
 	/**
 	 * Prep the transformation chars
+	 *
 	 * @return void
 	 */
 	protected function _setTransformations(Model $Model, $dir) {