コード例 #1
0
ファイル: Trash.php プロジェクト: youngsun45/miniyun
 /**
  *
  * 构造函数,初始化一些必要参数
  */
 public function __construct()
 {
     parent::init();
     $this->result = array();
     $this->result["state"] = false;
     $this->result["code"] = 0;
     $this->result["msg"] = Yii::t('api_message', 'action_failure');
 }
コード例 #2
0
ファイル: CreateFolder.php プロジェクト: youngsun45/miniyun
 /**
  * 
  * 构造函数,初始化一些参数
  */
 public function __construct()
 {
     parent::init();
     $this->result = array();
     $this->result["state"] = false;
     $this->result["code"] = 0;
     $this->result["message"] = "创建文件夹失败";
     $this->share_filter = MSharesFilter::init();
 }
コード例 #3
0
ファイル: Move.php プロジェクト: youngsun45/miniyun
 /**
  * 
  * 构造函数,初始化一些参数
  */
 public function __construct()
 {
     parent::init();
     $this->result = array();
     $this->result["state"] = false;
     $this->result["code"] = 0;
     $this->result["msg"] = "移动失败";
     $this->result["data"] = array();
 }
コード例 #4
0
ファイル: ShareManager.php プロジェクト: youngsun45/miniyun
 /**
  *
  * 构造函数,初始化一些参数
  */
 public function __construct()
 {
     parent::init();
     $this->result = array();
     $this->result["state"] = false;
     $this->result["code"] = 0;
     $this->result["msg"] = "操作失败";
     $this->result['dir_pickcode'] = array();
     $this->result['data'] = array("d" => 1);
 }
コード例 #5
0
 /**
  *
  * 构造函数,初始化一些参数
  */
 public function __construct()
 {
     parent::init();
     $this->result = array();
     $this->result["state"] = false;
     $this->result["code"] = 0;
     $this->result["msg"] = Yii::t('front_common', 'common_permission_operate_fail');
     $this->result['dir_pickcode'] = array();
     $this->result['data'] = array("d" => 1);
 }