Manual:File.php/cs

Category:Outdated pages/cs Category:MediaWiki code/cs#File.php

File.php obsahuje třídu File, která reprezentuje soubory v repozitáři.

Poznámky k použití:

  • A number of public functions, especially many of the 'stubs' (i.e. unimplemented public methods), are meant to be overridden.
  • The name of a file class is known only to the Repo object. To get File objects or generate new ones, use the Repo factory functions. It is usually sufficient to use something like:
    • MediaWikiServices::getInstance()->getRepoGroup()->findFile()
    • MediaWikiServices::getInstance()->getRepoGroup()->getLocalRepo()->newFile()

Související odkazy

Category:MediaWiki code/cs Category:Outdated pages/cs