modules/project/models/PBlacklist.phpView Source

Show: PublicProtectedPrivateinherited
Table of Contents
Package
Default  

\Project_Model_PBlacklist

Package: Project\Models
Project_Model_PBlacklist
Author
Evgeniy  

Properties

>VPropertyprivate$_db
Details
Type
n/a
>VPropertyprivate$_groupId
Details
Type
n/a
>VPropertyprivate$_proj_id
Details
Type
n/a
>VPropertyprivate$_schema
Details
Type
n/a

Methods

methodpublic__construct( $proj_id = 0,  $group_id = 0) : void

Parameters
NameTypeDescription
$proj_id
$group_id
methodpublicdeleteBlacklist(array $id) : void

Delete records from baclklist by some ids

Parameters
NameTypeDescription
$idarray
methodpublicfoundInBlacklist( $email,  $source = "") : void

Parameters
NameTypeDescription
$email
$source
methodpublicgetBlacklist(boolean $filter = false) : array

Get blcklist records

Parameters
NameTypeDescription
$filterboolean
Returns
TypeDescription
array
methodpublicgetBlacklistAll(boolean $filter = false) : array

Get all blacklisted record

Parameters
NameTypeDescription
$filterboolean
Returns
TypeDescription
array
methodprivategetProjectGroup() : integer

Get group for current project

Returns
TypeDescription
integer
methodpublicgetSimpleFile() : array

Get simple file records

Returns
TypeDescription
array
methodpublicsaveToBlacklist(array $items, integer $proj_id, integer $untill, integer $type, \intger $source, boolean $test = false, string $comments = '') : integer

Save item to blacklist

Parameters
NameTypeDescription
$itemsarray
$proj_idinteger
$untillinteger
$typeinteger
$source\intger
$testboolean
$commentsstring
Returns
TypeDescription
integer
methodpublicsaveToBlacklistManual(array $ids, integer $limited = 0) : integer

Save tp malcklist by manual

Parameters
NameTypeDescription
$idsarray
$limitedinteger
Returns
TypeDescription
integer
Documentation was generated by phpDocumentor 2.8.5.