offline.php 1.91 KB
Newer Older
1 2 3 4 5 6
<?php

/**
 * @var yii\web\View $this
 */

Carsten Brandt committed
7 8
\yii\apidoc\templates\offline\assets\AssetBundle::register($this);

9 10 11 12 13 14 15 16 17 18 19 20 21
$this->beginPage();
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="language" content="en" />
<?php $this->head(); ?>
<title><?php echo $this->context->pageTitle; ?></title>
</head>

<body>
<?php $this->beginBody(); ?>
22
	<div id="apiPage">
23

24 25 26
		<div id="apiHeader">
			<a href="http://www.yiiframework.com">Yii Framework</a> v<?php echo Yii::getVersion(); ?> Class Reference
		</div><!-- end of header -->
27

28 29 30
		<div id="content">
		<?php echo $content; ?>
		</div><!-- end of content -->
31

32 33 34 35
		<div id="apiFooter">
			<p>&copy; 2008-2013 by <a href="http://www.yiisoft.com">Yii Software LLC</a></p>
			<p>All Rights Reserved.</p>
		</div><!-- end of footer -->
36 37 38

<script type="text/javascript">
/*<![CDATA[*/
Carsten Brandt committed
39 40 41 42 43 44 45 46 47 48 49 50
$("a.toggle").on('click', function() {
	var $this = $(this);
	if ($this.hasClass('properties-hidden')) {
		$this.text($this.text().replace(/Show/,'Hide'));
		$this.parents(".summary").find(".inherited").show();
		$this.removeClass('properties-hidden');
	} else {
		$this.text($this.text().replace(/Hide/,'Show'));
		$this.parents(".summary").find(".inherited").hide();
		$this.addClass('properties-hidden');
	}
	return false;
51
});
Carsten Brandt committed
52
/*
53 54 55 56 57 58 59 60 61 62
$(".sourceCode a.show").toggle(function(){
	$(this).text($(this).text().replace(/show/,'hide'));
	$(this).parents(".sourceCode").find("div.code").show();
},function(){
	$(this).text($(this).text().replace(/hide/,'show'));
	$(this).parents(".sourceCode").find("div.code").hide();
});
$("a.sourceLink").click(function(){
	$(this).attr('target','_blank');
});
Carsten Brandt committed
63
*/
64 65 66
/*]]>*/
</script>

67
	</div><!-- end of page -->
68 69 70
<?php $this->endBody(); ?>
</body>
</html>
71
<?php $this->endPage(); ?>