mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-09-07 13:44:13 +08:00
50 lines
No EOL
806 B
PHP
50 lines
No EOL
806 B
PHP
<?php
|
|
|
|
namespace RainLoop\Providers\Domain;
|
|
|
|
interface DomainAdminInterface extends DomainInterface
|
|
{
|
|
|
|
/**
|
|
* @param string $sName
|
|
* @param bool $bDisable
|
|
*
|
|
* @return bool
|
|
*/
|
|
public function Disable($sName, $bDisable);
|
|
|
|
/**
|
|
* @param string $sName
|
|
* @param bool $bFindWithWildCard = false
|
|
*
|
|
* @return \RainLoop\Domain | null
|
|
*/
|
|
public function Load($sName, $bFindWithWildCard = false);
|
|
|
|
/**
|
|
* @param \RainLoop\Domain $oDomain
|
|
*
|
|
* @return bool
|
|
*/
|
|
public function Save(\RainLoop\Domain $oDomain);
|
|
|
|
/**
|
|
* @param string $sName
|
|
*
|
|
* @return bool
|
|
*/
|
|
public function Delete($sName);
|
|
|
|
/**
|
|
* @param int $iOffset
|
|
* @param int $iLimit = 20
|
|
*
|
|
* @return array
|
|
*/
|
|
public function GetList($iOffset, $iLimit = 20);
|
|
|
|
/**
|
|
* @return int
|
|
*/
|
|
public function Count();
|
|
} |