文件操作 - class-form-entry-manager.php
返回文件管理
返回主菜单
删除本文件
文件: /root/Desktop/OLD/plugin-wordpress/weforms/includes/class-form-entry-manager.php
编辑文件内容
<?php /** * The Entry Manager Class * * @since 1.1.0 */ class WeForms_Form_Entry_Manager { /** * The form id * * @var int */ private $id = 0; /** * The form object * * @var \WeForms_Form */ private $form; /** * The constructor * * @param int $form_id * @param \WeForms_Form $form */ public function __construct( $form_id, $form ) { $this->id = $form_id; $this->form = $form; } /** * Get all the form entries * * @return array */ public function all() { return weforms_get_form_entries( $this->id ); } /** * Get a single entry * * @param int $entry_id * * @return mixed */ public function get( $entry_id ) { return new WeForms_Form_Entry( $entry_id, $this->form ); } }
修改文件时间
将文件时间修改为当前时间的前一年
删除文件