文件操作 - ElementList.php
返回文件管理
返回主菜单
删除本文件
文件: /root/.local/share/Trash/files/roundcube/plugins/carddav/vendor/sabre/vobject/lib/ElementList.php
编辑文件内容
<?php namespace Sabre\VObject; use ArrayIterator; use LogicException; /** * VObject ElementList. * * This class represents a list of elements. Lists are the result of queries, * such as doing $vcalendar->vevent where there's multiple VEVENT objects. * * @copyright Copyright (C) fruux GmbH (https://fruux.com/) * @author Evert Pot (http://evertpot.com/) * @license http://sabre.io/license/ Modified BSD License */ class ElementList extends ArrayIterator { /* {{{ ArrayAccess Interface */ /** * Sets an item through ArrayAccess. * * @param int $offset * @param mixed $value */ public function offsetSet($offset, $value) { throw new LogicException('You can not add new objects to an ElementList'); } /** * Sets an item through ArrayAccess. * * This method just forwards the request to the inner iterator * * @param int $offset */ public function offsetUnset($offset) { throw new LogicException('You can not remove objects from an ElementList'); } /* }}} */ }
修改文件时间
将文件时间修改为当前时间的前一年
删除文件