PHP 클래스 Pommo_Rules, poMMo

This file is part of poMMo (http://www.pommo.org) poMMo is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or any later version. poMMo is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with program; see the file docs/LICENSE. If not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
파일 보기 프로젝트 열기: soonick/poMMo 1 사용 예제들

공개 메소드들

메소드 설명
addBoolRule ( &$group, &$match, &$logic )
addFieldRule ( &$group, &$field, &$logic, &$values, $type )
addGroupRule ( &$groupID, &$match, &$logic )
changeType ( $gid, $fid, $logic, $type )
deleteRule ( $gid, $fid, $logic )
getEnglish ( $str = null )
getLegal ( &$group, $fields ) returns an array of logics. Array key correlates to field_id.
getLegalGroups ( &$group, &$groups ) returns array of group names. Array key correlates to group's ID

메소드 상세

addBoolRule() 공개 메소드

public addBoolRule ( &$group, &$match, &$logic )

addFieldRule() 공개 메소드

public addFieldRule ( &$group, &$field, &$logic, &$values, $type )

addGroupRule() 공개 메소드

public addGroupRule ( &$groupID, &$match, &$logic )

changeType() 공개 메소드

public changeType ( $gid, $fid, $logic, $type )

deleteRule() 공개 메소드

public deleteRule ( $gid, $fid, $logic )

getEnglish() 공개 정적인 메소드

public static getEnglish ( $str = null )

getLegal() 공개 정적인 메소드

returns an array of logics. Array key correlates to field_id.
public static getLegal ( &$group, $fields )

getLegalGroups() 공개 정적인 메소드

returns array of group names. Array key correlates to group's ID
public static getLegalGroups ( &$group, &$groups )