PHP Class Pommo_Mailing_Template, poMMo

Afficher le fichier Open project: soonick/poMMo Class Usage Examples

Méthodes publiques

Méthode Description
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

Method Details

add() public méthode

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

delete() public méthode

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

get() public méthode

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

getDescriptions() public méthode

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

getNames() public méthode

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

make() public méthode

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

makeDB() public méthode

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

validate() public méthode

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