mirror of
https://github.com/brmlab/brmsklad.git
synced 2025-08-04 07:03:41 +02:00
Backup of current cakephp version
This commit is contained in:
parent
b8f82da6f8
commit
5a580df460
925 changed files with 238041 additions and 1 deletions
|
@ -0,0 +1,2 @@
|
|||
<?php $this->extend('parent_element'); ?>
|
||||
Element content.
|
|
@ -0,0 +1,2 @@
|
|||
<?php $this->extend('noneexistent_parent_element'); ?>
|
||||
Element content.
|
3
lib/Cake/Test/test_app/View/Elements/html_call.ctp
Normal file
3
lib/Cake/Test/test_app/View/Elements/html_call.ctp
Normal file
|
@ -0,0 +1,3 @@
|
|||
<?php
|
||||
echo $this->Html->link('Test', 'http://example.com');
|
||||
?>
|
|
@ -0,0 +1,5 @@
|
|||
<h2>Cache Me</h2>
|
||||
<!--nocache-->
|
||||
<p>F. In Element With No Cache Tags</p>
|
||||
<?php $this->log('6. in element with no cache tags') ?>
|
||||
<!--/nocache-->
|
4
lib/Cake/Test/test_app/View/Elements/nocache/plain.ctp
Normal file
4
lib/Cake/Test/test_app/View/Elements/nocache/plain.ctp
Normal file
|
@ -0,0 +1,4 @@
|
|||
<h2>Cache Me</h2>
|
||||
<p>B. In Plain Element</p>
|
||||
<?php $this->log('2. in plain element') ?>
|
||||
|
8
lib/Cake/Test/test_app/View/Elements/nocache/sub1.ctp
Normal file
8
lib/Cake/Test/test_app/View/Elements/nocache/sub1.ctp
Normal file
|
@ -0,0 +1,8 @@
|
|||
<?php echo $this->element('nocache/sub2'); ?>
|
||||
|
||||
<!--nocache-->
|
||||
<?php $foobar = 'in sub1'; ?>
|
||||
<?php echo $foobar; ?>
|
||||
<!--/nocache-->
|
||||
|
||||
<?php echo 'printing: "' . $foobar . '"'; ?>
|
6
lib/Cake/Test/test_app/View/Elements/nocache/sub2.ctp
Normal file
6
lib/Cake/Test/test_app/View/Elements/nocache/sub2.ctp
Normal file
|
@ -0,0 +1,6 @@
|
|||
<!--nocache-->
|
||||
<?php $barfoo = 'in sub2'; ?>
|
||||
<?php echo $barfoo; ?>
|
||||
<!--/nocache-->
|
||||
|
||||
<?php echo 'printing: "' . $barfoo . '"'; ?>
|
2
lib/Cake/Test/test_app/View/Elements/parent_element.ctp
Normal file
2
lib/Cake/Test/test_app/View/Elements/parent_element.ctp
Normal file
|
@ -0,0 +1,2 @@
|
|||
Parent Element.
|
||||
<?php echo $this->fetch('content'); ?>
|
5
lib/Cake/Test/test_app/View/Elements/session_helper.ctp
Normal file
5
lib/Cake/Test/test_app/View/Elements/session_helper.ctp
Normal file
|
@ -0,0 +1,5 @@
|
|||
<div id="notificationLayout">
|
||||
<h1><?php echo $name; ?></h1>
|
||||
<h3><?php echo $title; ?></h3>
|
||||
<p><?php echo $message; ?></p>
|
||||
</div>
|
1
lib/Cake/Test/test_app/View/Elements/test_element.ctp
Normal file
1
lib/Cake/Test/test_app/View/Elements/test_element.ctp
Normal file
|
@ -0,0 +1 @@
|
|||
<?php echo 'this is the test element'; ?>
|
1
lib/Cake/Test/test_app/View/Elements/test_element.xml
Normal file
1
lib/Cake/Test/test_app/View/Elements/test_element.xml
Normal file
|
@ -0,0 +1 @@
|
|||
<p>test element</p>
|
1
lib/Cake/Test/test_app/View/Elements/type_check.ctp
Normal file
1
lib/Cake/Test/test_app/View/Elements/type_check.ctp
Normal file
|
@ -0,0 +1 @@
|
|||
<?php echo gettype($form); ?>
|
Loading…
Add table
Add a link
Reference in a new issue