Wiki

Sorted by date (updated)X
Displaying 681-690 of 783 result(s).

How to write a simple application component

Updated 5 years ago by zaccariaHow-tos5 comments – viewed 55,959 times – ( +20 / -7 ) – version 1.1
An application component is a confortable way for share information among all component of the application

Sub-domains with different databases in Yii!

Updated 5 years ago by jwerdHow-tos5 comments – viewed 16,211 times – ( +2 ) – version 1.1
Sub-domains with different databases in Yii!

Single table inheritance

Updated 5 years ago by samdarkHow-tos8 comments – viewed 35,313 times – ( +41 ) – version 1.1
Relational databases do not support inheritance so if we need to represent it, we have to somehow store meta info while keeping performance by minimizing JOINs. One way to solve this problem is using single table inheritance. All fields for the whole class tree are stored in a single table. Class name is stored in the type field of the same table.

Getting nulls from database instead of empty strings

Updated 5 years ago by samdarkTips2 comments – viewed 11,928 times – ( +13 ) – version 1.1
To get null from database instead of empty strings you need to set up your DB connection as follows:
tags: database, null

Local time zones and locales

Updated 5 years ago by Russell EnglandHow-tos9 comments – viewed 69,776 times – ( +14 / -2 ) – version 1.1
Following on from international dates, I also wanted times in the local timezone and format. This was a little more tricky but I think I've got a solution. This is only really appropriate if you have an international app.

[PT-BR] Proteção Contra Logout CSRF

Updated 5 years ago by Rodrigo CoelhoTutorials0 comments – viewed 8,299 times – ( +2 / -1 ) – version 1.1
CSRF é o acrônimo para Cross-site request forgery. CSRF é um ataque que forca o usuário a executar ações não desejadas numa aplicação Web na qual ele está autenticado.

Implementing a Registration Process using the yii-user-management module

Updated 5 years ago by thyseusTutorials6 comments – viewed 64,778 times – ( +7 ) – version 1.1
Hi Folks,

A simple class to use a different db for a module

Updated 5 years ago by Maurizio Domba CerinTips3 comments – viewed 18,280 times – ( +10 ) – version 1.1
What would you do if you want/need to have a different than the main database connection in an module's models?

How to install pdo_oci

Updated 5 years ago by gallego123How-tos2 comments – viewed 28,766 times – ( +1 ) – version 1.1
From: http://lacot.org/ and me.
tags: pdo oci php

Using Pear Mail Mail_Mime and Mail_Queue

Updated 5 years ago by LorenHow-tos2 comments – viewed 11,408 times – ( +7 ) – version 1.1
Create a component (/protected/components/PearMail.php) Edit this as needed based on where you put the files from PEAR.