KWeb  6.4
KWebItem_NewsList Class Reference
Inheritance diagram for KWebItem_NewsList:
KWebItemInfo KWebItem KWebObject_Translateable KWebObject_Attributable KWebObject

Public Member Functions

 getItemPrinter ()
 canAddChild ($type, $user=false, $attrId=ATTR_ALL)
 Zwraca true, jeżeli można dodać element o podanym typie...
 canAddLink ($item, $user=false, $attrId=ATTR_ALL)
 getInfoOnVariables ()
 buildObjectForm ($id, array $options=array())
 Builds the user input form for this object.
 getFromEmail ($lang=false)
 getHeaderOnline ($lang=false)
 verifySubscriber ($email, $key, $type= 'html', $lang=false)
 getVerificationKey ($email, $salt=false)
 sendVerificationEmail ($email, $type, $lang)
 needVerification ()
 checkSubscriber ($email, $type= 'html', $lang=false, $verify=true, $params=false)
 addSubscriber ($email, $type, $lang=false, $verify=true, $params=false)
 removeSubscriber ($key)
 removeSubscriberByEmail ($email)
 isSubscribed ($email, $lang=false)
 getSubscribers ($flat=false, $start=0, $count=-1, $lang=false, $where= 'active=1')
 Zwraca listę adresów.
 getSubscribersCount ()

Static Public Member Functions

static getClassInfo ()
 Returns information about this class.
static canAssignAsChild ($parent, $attrId=ATTR_ALL)
 Zwraca true, jeżeli można dopiąć ten typ do wskazanego elementu.
static canAssignAsLink ($parent, $attrId=ATTR_ALL)
static getClassAttributes (array $options=array())
 Returns attribute table for this class.

Member Function Documentation

KWebItem_NewsList::addSubscriber ( email,
type,
lang = false,
verify = true,
params = false 
)
KWebItem_NewsList::buildObjectForm ( id,
array $  options = array() 
)

Builds the user input form for this object.

Options specify the intent of the form (full edit, quick edit, quick add, and so on). Once build, the form should be attached to this object with setObjectForm().

By default, the form will be built automatically, using KWebAttribute form intents ($group and $forms)

Returns:
KWebAttribute_Table_Form

Reimplemented from KWebItemInfo.

KWebItem_NewsList::canAddChild ( type,
user = false,
attrId = ATTR_ALL 
)

Zwraca true, jeżeli można dodać element o podanym typie...

Reimplemented from KWebItem.

KWebItem_NewsList::canAddLink ( item,
user = false,
attrId = ATTR_ALL 
)

Reimplemented from KWebItem.

static KWebItem_NewsList::canAssignAsChild ( parent,
attrId = ATTR_ALL 
) [static]

Zwraca true, jeżeli można dopiąć ten typ do wskazanego elementu.

Reimplemented from KWebItem.

static KWebItem_NewsList::canAssignAsLink ( parent,
attrId = ATTR_ALL 
) [static]

Reimplemented from KWebItem.

KWebItem_NewsList::checkSubscriber ( email,
type = 'html',
lang = false,
verify = true,
params = false 
)
static KWebItem_NewsList::getClassAttributes ( array $  options = array()) [static]

Returns attribute table for this class.

Once created, the table should be stored in a static value. The table should be read only.

Options contain 'genre', 'type' and 'object' for which this attribute table is needed. However, the best practice is to always return always the same, static attribute table.

Overriding classes should be responsible to clone the table and it's attributes and modify them if needed.

Returns:
KWebAttribute_Table_Class

Reimplemented from KWebItemInfo.

static KWebItem_NewsList::getClassInfo ( ) [static]

Returns information about this class.

genre type name icon

Returns:
array

Reimplemented from KWebObject.

KWebItem_NewsList::getFromEmail ( lang = false)
KWebItem_NewsList::getHeaderOnline ( lang = false)
KWebItem_NewsList::getInfoOnVariables ( )
KWebItem_NewsList::getItemPrinter ( )

Reimplemented from KWebItem.

KWebItem_NewsList::getSubscribers ( flat = false,
start = 0,
count = -1,
lang = false,
where = 'active=1' 
)

Zwraca listę adresów.

Parameters:
$flattrue - zwraca tylko adresy email, false azwraca dla każdego adresu wszystkie dane z bazy (email, list, active, type, host, bounces, created, mail_key)
KWebItem_NewsList::getSubscribersCount ( )
KWebItem_NewsList::getVerificationKey ( email,
salt = false 
)
KWebItem_NewsList::isSubscribed ( email,
lang = false 
)
KWebItem_NewsList::needVerification ( )
KWebItem_NewsList::removeSubscriber ( key)
KWebItem_NewsList::removeSubscriberByEmail ( email)
KWebItem_NewsList::sendVerificationEmail ( email,
type,
lang 
)
KWebItem_NewsList::verifySubscriber ( email,
key,
type = 'html',
lang = false 
)

The documentation for this class was generated from the following file: