Core
3.2
PHP API documentation
Main Page
Related Pages
Namespaces
Data Structures
Files
Examples
File List
Globals
•
All
Data Structures
Namespaces
Files
Functions
Variables
Pages
Class.TestGood1.php
Go to the documentation of this file.
1
<?php
2
/*
3
* @author Anakeen
4
* @package FDL
5
*/
6
namespace
Tst;
7
class
FamImp4
extends
Famimp4Plus
8
{
9
10
public
function
goodCompute1
()
11
{
12
return
1;
13
}
14
public
function
goodCompute2
(
$a
)
15
{
16
return
intval(
$a
) + 1;
17
}
18
public
function
goodConstraint2
(
$a
)
19
{
20
return
"$a"
;
21
}
22
/**
23
* @apiExpose
24
* @return int
25
*/
26
public
function
forMenu
()
27
{
28
return
1;
29
}
30
}
$a
print< H1 > Check Database< i > $dbaccess</i ></H1 > $a
Definition:
checklist.php:45
Tst\FamImp4
Definition:
Class.TestGood1.php:7
Tst\FamImp4\goodCompute1
goodCompute1()
Definition:
Class.TestGood1.php:10
Tst\FamImp4\forMenu
forMenu()
Definition:
Class.TestGood1.php:26
Tst\Famimp4Plus
Definition:
Class.TestGood2.php:8
Tst\FamImp4\goodCompute2
goodCompute2($a)
Definition:
Class.TestGood1.php:14
Tst\FamImp4\goodConstraint2
goodConstraint2($a)
Definition:
Class.TestGood1.php:18
← centre documentaire
© anakeen