PHP 클래스 Pommo_Mailing_Template, poMMo

파일 보기 프로젝트 열기: soonick/poMMo 1 사용 예제들

공개 메소드들

메소드 설명
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 )