\Core\Repositories\AdminLinkRepository

LinkRepository 友情链接管理仓库

Summary

Methods
Properties
Constants
__get()
getBusinessContainerInstance()
getServiceInstance()
getLinkList()
saveLink()
getInfo()
deleteInfo()
orderLink()
typeList()
$linkService
$attachmentService
$categoryService
No constants found
No protected methods found
$container
$businessContainerKey
N/A
No private methods found
No private properties found
N/A

Properties

$linkService

$linkService : \Core\Services\LinkService

Type

\Core\Services\LinkService

$attachmentService

$attachmentService : \Core\Services\AttachmentService

Type

\Core\Services\AttachmentService

$categoryService

$categoryService : \Core\Services\CategoryService

Type

\Core\Services\CategoryService

$container

$container : \Psr\Container\ContainerInterface

Type

\Psr\Container\ContainerInterface

$businessContainerKey

$businessContainerKey : 

Created by PhpStorm.

可以实现自动注入的业务容器 User:YM Date:2020/1/12 Time:上午8:18

Type

Methods

__get()

__get(  $key) : \Psr\Container\ContainerInterface|void

__get 隐式注入服务类 User:YM Date:2019/11/21 Time:上午9:27

Parameters

$key

Returns

\Psr\Container\ContainerInterface|void

getBusinessContainerInstance()

getBusinessContainerInstance(  $key) : mixed

getBusinessContainerInstance 获取业务容器实例 User:YM Date:2020/1/12 Time:上午8:15

Parameters

$key

Returns

mixed

getServiceInstance()

getServiceInstance(  $key) : mixed

getServiceInstance 获取服务类实例 User:YM Date:2019/11/21 Time:上午10:30

Parameters

$key

Returns

mixed

getLinkList()

getLinkList(  $inputData) : array

getLinkList 获取列表 User:YM Date:2020/2/10 Time:下午10:38

Parameters

$inputData

Returns

array

saveLink()

saveLink(  $data) : mixed

saveLink 保存 User:YM Date:2020/2/10 Time:下午10:38

Parameters

$data

Returns

mixed

getInfo()

getInfo(  $id) : mixed

getInfo 根据id获取信息 User:YM Date:2020/2/10 Time:下午10:38

Parameters

$id

Returns

mixed

deleteInfo()

deleteInfo(  $id) : mixed

deleteInfo 删除信息 User:YM Date:2020/2/10 Time:下午10:38

Parameters

$id

Returns

mixed

orderLink()

orderLink(array  $ids = array()) : boolean

orderLink 友情链接排序 User:YM Date:2020/2/10 Time:下午10:38

Parameters

array $ids

Returns

boolean

typeList()

typeList() : mixed

typeList 获取类别 User:YM Date:2020/2/10 Time:下午10:39

Returns

mixed