PHP 클래스 Model\Node

상속: extends Core\Model\Model
파일 보기 프로젝트 열기: sendya/shadowsocks-panel 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$custom_method 状态
$id
$info 加密方式
$method Server地址
$name 节点id
$order 是否支持自定义加密 0-不可自定义 1-可自定义
$server 类型 0 普通 1 vip
$status 节点信息备注
$type 节点名称

공개 메소드들

메소드 설명
deleteNode ( $nodeId ) : boolean Delete node
getNodeArray ( $type ) : Node[] Get Node array
getNodeById ( $nodeId ) : mixed Get node by Id
getSupportCustomMethodArray ( ) : Node[] get support custom method node.

메소드 상세

deleteNode() 공개 정적인 메소드

Delete node
public static deleteNode ( $nodeId ) : boolean
$nodeId
리턴 boolean

getNodeArray() 공개 정적인 메소드

Get Node array
public static getNodeArray ( $type ) : Node[]
$type
리턴 Node[]

getNodeById() 공개 정적인 메소드

Get node by Id
public static getNodeById ( $nodeId ) : mixed
$nodeId
리턴 mixed

getSupportCustomMethodArray() 공개 정적인 메소드

get support custom method node.
public static getSupportCustomMethodArray ( ) : Node[]
리턴 Node[]

프로퍼티 상세

$custom_method 공개적으로 프로퍼티

状态
public $custom_method

$id 공개적으로 프로퍼티

public $id

$info 공개적으로 프로퍼티

加密方式
public $info

$method 공개적으로 프로퍼티

Server地址
public $method

$name 공개적으로 프로퍼티

节点id
public $name

$order 공개적으로 프로퍼티

是否支持自定义加密 0-不可自定义 1-可自定义
public $order

$server 공개적으로 프로퍼티

类型 0 普通 1 vip
public $server

$status 공개적으로 프로퍼티

节点信息备注
public $status

$type 공개적으로 프로퍼티

节点名称
public $type