Failure_Repository
Current parser failures, joined to live documents and their current attachments.
Tags
Table of Contents
- count() : int
- Count eligible failures without loading extracted content.
- current() : array<string|int, mixed>|null
- Get the current attachment failure for a document.
- rows() : array<string|int, mixed>
- Read a bounded page using the same eligibility rules as the count.
Methods
count()
Count eligible failures without loading extracted content.
public
count() : int
Tags
Return values
int —current()
Get the current attachment failure for a document.
public
current(int $post_id) : array<string|int, mixed>|null
Parameters
- $post_id : int
-
Document ID.
Tags
Return values
array<string|int, mixed>|null —rows()
Read a bounded page using the same eligibility rules as the count.
public
rows([int $limit = 25 ], int $offset, int $post_id[, bool $count_only = false ]) : array<string|int, mixed>
Parameters
- $limit : int = 25
-
Page size.
- $offset : int
-
Page offset.
- $post_id : int
-
Optional document filter.
- $count_only : bool = false
-
Select only the matching count.