This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// If you select and copy the names of columns of a table from Oracle SQL Developer, | |
// you will get something like this. | |
$column_names = 'ACCOUNT_ID | |
COMMENTS | |
POST_DATE'; | |
// But in PHP, we normaly select columns with the aliases in lower case like so: | |
// column_name "column_name" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php get_header(); ?> | |
<div class="container"> | |
<?php | |
if (function_exists('yoast_breadcrumb')) { | |
yoast_breadcrumb('<div class="book-breadcrumb"><p><span class="glyphicon glyphicon-home"></span> ', '</p></div>'); | |
} | |
?> | |
<div class="row"> | |
<div class="col-sm-5 col-md-4"> | |
<?php get_sidebar(); ?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class m140108_152635_create_rbac_tables extends CDbMigration { | |
public function up() { | |
$this->createTable('AuthItem', array( | |
'name' => 'string NOT NULL', | |
'type' => 'integer NOT NULL', | |
'description' => 'text', | |
'bizrule' => 'text', |