. */ /** * Page * * Manages Pages. * * @since 4.7.0 * @package Skin */ namespace Textpattern\Skin; class Page extends AssetBase implements PageInterface { protected static $dir = 'pages'; protected static $fileContentsField = 'user_html'; protected static $mimeTypes = array(); protected static $essential = array( array( 'name' => 'default', 'user_html' => '', ), array( 'name' => 'error_default', 'user_html' => '', ), ); /** * {@inheritdoc} */ public function setInfos( $name, $user_html = null ) { $name = $this->setName($name)->getName(); $this->infos = compact('name', 'user_html'); return $this; } }