-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathCssBlock.php
50 lines (44 loc) · 1.09 KB
/
CssBlock.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<?php
/**
* Base class for CSS blocks.
*
* PHP 5
*
* Cake Toolkit (http://caketoolkit.org)
* Copyright 2012, James Watts (http://github.com/jameswatts)
*
* Licensed under The MIT License
* Redistributions of files must retain the above copyright notice.
*
* @copyright Copyright 2012, James Watts (http://github.com/jameswatts)
* @link http://caketoolkit.org Cake Toolkit
* @package Ctk.View.Factory.Css.Objects
* @since CakePHP(tm) v 2.2.0.0
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
*/
App::uses('CtkNode', 'Ctk.Lib');
/**
* Base class representing a CSS block.
*
* @package Ctk.Factory
*/
class CssBlock extends CtkNode {
/**
* The template to use for this object.
*
* @var string The name of the template.
*/
protected $_template = 'block';
/**
* The type of element this object represents.
*
* @var string The element type.
*/
protected $_nodeType = 'block';
/**
* Determines if the node accepts events.
*
* @var boolean Set to FALSE to block adding events.
*/
protected $_allowEvents = false;
}