Gentics Portal.Node PHP API
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
All
Classes
Namespaces
Functions
Variables
Pages
common
modules
remember
models
ShareMailForm.php
1
<?php
2
3
/**
4
*
5
* Gentics Portal.Node PHP
6
* Author & Copyright (c) by Gentics Software GmbH
7
* sales@gentics.com
8
* http://www.gentics.com
9
* Licenses can be found in the LICENSE.txt file in the root-folder of this installation
10
* You must not use this software without a valid license agreement.
11
*
12
* Form for validation user input.
13
* Used for sharing by mail
14
**/
15
class
ShareMailForm
extends
CFormModel
16
{
17
public
$name;
18
public
$email;
19
public
$description;
20
public
$links;
21
22
public
function
rules()
23
{
24
return
array(
25
array(
'name, email, links'
,
'required'
),
26
array(
'email'
,
'email'
),
27
array(
'description'
,
'safe'
)
28
);
29
}
30
31
public
function
getAttributeLabel($name)
32
{
33
return
RememberModule::t
(parent::getAttributeLabel($name));
34
}
35
}
Generated on Thu Jun 20 2013 14:45:15 for Gentics Portal.Node PHP API by
1.8.1.2