cakephp/cakephp — pull request #475 by rchavik (2012-02-12 10:03:23+00:00)
Title: Static methods for CakeTime, CakeNumber, and String

When writing docs for the libifying of helpers, it occured to me that it would be awkward, primarily for `String` class, when using helper methods, eg:

```php
User->find('new_message');
if (!empty($message)) {

// truncate() is non-static, was moved from TextHelper
$this->Session->setFlash(__('You have a new message: %s', $String->truncate($message['Message']['body'], 255, array('html' => true))));

// wrap() is already static
$this->log(String::wrap('Sent a new message notification to %s', $this->Auth->user('username'));
}
}
}
```

This changeset makes all methods `CakeTime`, `CakeNumber` and `String` to static.

Thanks