PHP Класс Pommo_Mailing_Template, poMMo

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
add ( &$in ) returns the database ID of the added mailing
delete ( &$id ) returns the # of deleted subscribers (int). 0 (false) if none.
get ( $p = [] ) returns an array of mailings. Array key(s) correlates to template ID.
getDescriptions ( $p = [] ) returns an array of mailings. Array key(s) correlates to template ID.
getNames ( $p = [] ) returns an array of mailings. Array key(s) correlates to template ID.
make ( $in = [] ) return a template object (array)
makeDB ( &$row ) return a template object (array)
validate ( &$in ) returns true if template ($in) is valid, false if not

Описание методов

add() публичный Метод

returns the database ID of the added mailing
public add ( &$in )

delete() публичный Метод

returns the # of deleted subscribers (int). 0 (false) if none.
public delete ( &$id )

get() публичный Метод

returns an array of mailings. Array key(s) correlates to template ID.
public get ( $p = [] )

getDescriptions() публичный Метод

returns an array of mailings. Array key(s) correlates to template ID.
public getDescriptions ( $p = [] )

getNames() публичный Метод

returns an array of mailings. Array key(s) correlates to template ID.
public getNames ( $p = [] )

make() публичный Метод

return a template object (array)
public make ( $in = [] )

makeDB() публичный Метод

return a template object (array)
public makeDB ( &$row )

validate() публичный Метод

returns true if template ($in) is valid, false if not
public validate ( &$in )