Code formatting
This commit is contained in:
@ -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()
|
||||||
|
@ -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
vendored
1
cache/CacheKey.php
vendored
@ -21,6 +21,7 @@ class CacheKey
|
|||||||
* @var CacheKey
|
* @var CacheKey
|
||||||
*/
|
*/
|
||||||
protected $key;
|
protected $key;
|
||||||
|
|
||||||
protected $expire = 0;
|
protected $expire = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
1
cache/Cacher.php
vendored
1
cache/Cacher.php
vendored
@ -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])) {
|
||||||
|
@ -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;
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user