XOOPS
2.6.0
Main Page
Related Pages
Classes
Files
Examples
File List
File Members
AbstractContract.php
Go to the documentation of this file.
1
<?php
2
/*
3
You may not change or alter any portion of this comment or credits
4
of supporting developers from this source code or any supporting source code
5
which is considered copyrighted (c) material of the original comment or credit authors.
6
7
This program is distributed in the hope that it will be useful,
8
but WITHOUT ANY WARRANTY; without even the implied warranty of
9
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
10
*/
11
12
namespace
Xoops\Core\Service
;
13
29
abstract
class
AbstractContract
30
{
32
protected
$priority
=
Manager::PRIORITY_MEDIUM
;
33
41
public
function
setPriority
(
$priority
)
42
{
43
$this->priority = (int)
$priority
;
44
}
45
51
public
function
getPriority
()
52
{
53
return
$this->priority
;
54
}
55
62
public
function
getMode
()
63
{
64
$class = get_called_class();
65
return
$class::MODE;
66
}
67
74
abstract
public
function
getName
();
75
81
abstract
public
function
getDescription
();
82
}
Xoops\Core\Service
Definition:
AbstractContract.php:12
Xoops\Core\Service\AbstractContract\getDescription
getDescription()
Xoops\Core\Service\AbstractContract
Definition:
AbstractContract.php:29
Xoops\Core\Service\AbstractContract\getName
getName()
Xoops\Core\Service\AbstractContract\$priority
$priority
Definition:
AbstractContract.php:32
Xoops\Core\Service\AbstractContract\getPriority
getPriority()
Definition:
AbstractContract.php:51
Xoops\Core\Service\Manager\PRIORITY_MEDIUM
const PRIORITY_MEDIUM
Definition:
Manager.php:61
Xoops\Core\Service\AbstractContract\getMode
getMode()
Definition:
AbstractContract.php:62
Xoops\Core\Service\AbstractContract\setPriority
setPriority($priority)
Definition:
AbstractContract.php:41
usr64
htdocs
xoops_lib
Xoops
Core
Service
AbstractContract.php
Generated on Fri May 22 2015 03:07:05 for XOOPS by
1.8.9.1