Browse Source

Code formatting

master
Anton Terekhov 13 years ago
parent
commit
3ebfac9db4
  1. 1
      app/AjaxAction.php
  2. 3
      app/PagerAction.php
  3. 1
      cache/CacheKey.php
  4. 1
      cache/Cacher.php
  5. 2
      captcha/Captcha.php

1
app/AjaxAction.php

@ -17,6 +17,7 @@
abstract class AjaxAction extends Action abstract class AjaxAction extends Action
{ {
public $data = 1; public $data = 1;
protected $encode = true; protected $encode = true;
function __construct() function __construct()

3
app/PagerAction.php

@ -12,8 +12,11 @@
class PagerAction extends Action class PagerAction extends Action
{ {
public $page = 1; public $page = 1;
public $last_page = 1; public $last_page = 1;
protected $offset = 0; protected $offset = 0;
protected $limit; protected $limit;
public function __construct($limit = 20) public function __construct($limit = 20)

1
cache/CacheKey.php

@ -21,6 +21,7 @@ class CacheKey
* @var CacheKey * @var CacheKey
*/ */
protected $key; protected $key;
protected $expire = 0; protected $expire = 0;
/** /**

1
cache/Cacher.php

@ -19,7 +19,6 @@ class Cacher
*/ */
static protected $caches = array(); static protected $caches = array();
static public function get($cacher, $config = null) static public function get($cacher, $config = null)
{ {
if (!isset(self::$caches[$cacher])) { if (!isset(self::$caches[$cacher])) {

2
captcha/Captcha.php

@ -13,7 +13,9 @@ class Captcha
{ {
protected $font_size = 38; protected $font_size = 38;
protected $width = 200; protected $width = 200;
protected $height = 70; protected $height = 70;

Loading…
Cancel
Save