Skip to content

Commit

Permalink
issue #268: added bootstrap 4 framework class
Browse files Browse the repository at this point in the history
  • Loading branch information
YaWK committed Sep 20, 2018
1 parent a985459 commit a20cb4b
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions system/classes/bootstrap4.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<?php
namespace YAWK\FRAMEWORK\BOOTSTRAP4 {
/**
* <b>Bootstrap 4 CSS methods </b>
* <p>Extends \YAWK\bootstrap - this class serves all bootstrap 4 component methods
* and set this->cssCode variable that will be used by \YAWK\bootstrap </p>
*
* @author Daniel Retzl <[email protected]>
* @copyright 2009-2015 Daniel Retzl yawk.io
* @license https://opensource.org/licenses/MIT
* @version 1.0.0
* @link http://yawk.io
* @annotation Helper function to output custom (overriden) bootstrap 4 css (settings.css)
*/
class bootstrap4 extends \YAWK\FRAMEWORK\cssFramework
{
/** @var string all the css as string */
public $cssCode = '';

/**
* Bootstrap 4: CARDS Component CSS Code
* @author Daniel Retzl <[email protected]>
* @version 1.0.0
* @link http://yawk.io
* @annotation add bootstrap 4 cards component to this css code string
*/
public function bs4_Cards()
{
// cards css code
$this->cssCode = "
/* CARDS */
/* .... */
";
}
}
}

0 comments on commit a20cb4b

Please sign in to comment.