Some more comments.

This commit is contained in:
jgen 2014-04-29 01:51:13 -04:00
parent 317028a63b
commit 2bf4c667a7
5 changed files with 26 additions and 3 deletions

View file

@ -3,7 +3,7 @@
class CustomIndexTheme extends IndexTheme {
/**
* @param Page $page
* @param null|array $images
* @param null|Image[] $images
*/
public function display_page(Page $page, $images) {
global $config;

View file

@ -1,10 +1,19 @@
<?php
class CustomCommentListTheme extends CommentListTheme {
/**
* @param Comment $comment
* @param bool $trim
* @return string
*/
protected function comment_to_html($comment, $trim=false) {
return $this->rr(parent::comment_to_html($comment, $trim));
}
/**
* @param int $image_id
* @return string
*/
protected function build_postbox($image_id) {
return $this->rr(parent::build_postbox($image_id));
}

View file

@ -1,7 +1,12 @@
<?php
/**
* Class CustomPage
*/
class CustomPage extends Page {
var $left_enabled = true;
/** @var bool */
public $left_enabled = true;
public function disable_left() {
$this->left_enabled = false;
}

View file

@ -1,6 +1,10 @@
<?php
/**
* A customised version of the Setup theme
* Class CustomSetupTheme
*
* A customised version of the Setup theme.
*
*/
class CustomSetupTheme extends SetupTheme {
protected function sb_to_html(SetupBlock $block) {

View file

@ -1,5 +1,10 @@
<?php
/**
* Class Themelet
*/
class Themelet extends BaseThemelet {
/**
* Put something in a rounded rectangle box; specific to the default theme.
*