D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home3
/
encodto1
/
aegiscae.com
/
wp-content
/
plugins
/
download-monitor
/
src
/
Logs
/
Filename :
LogItemRepository.php
back
Copy
<?php interface DLM_Log_Item_Repository { /** * Retrieve items * * @param int $limit * @param int $offset * @param string $order_by * @param string $order * * @return array<DLM_Log_Item> */ public function retrieve( $limit = 0, $offset = 0, $order_by = 'download_date', $order = 'DESC' ); /** * Retrieve single item * * @param int $id * * @return DLM_Log_Item */ public function retrieve_single( $id ); /** * Returns number of rows for given filters * * @param array $filters * * @return int */ public function num_rows( $filters = array() ); /** * Persist item * * @param DLM_Log_Item $log_item * * @return bool */ public function persist( $log_item ); }