Lines Matching refs:id
23 * @param string $id id of media
25 public function __construct($id)
27 if (!$id) {
28 throw new InvalidArgumentException('media id should not be empty!');
30 parent::__construct($id);
36 $this->changelog = new MediaChangeLog($this->id);
62 'id' => 'page__revisions', // must not be "media__revisions"
63 'action' => media_managerURL(['image' => $this->id], '&'),
82 } elseif (file_exists(mediaFN($this->id, $rev))) {