Imagine we have a model called Accounts which contains a static find() method.
class Accounts extends MyModel
{
public static function find($param)
{
// ...
| ## Colorize the ls output ## | |
| alias ls='ls -G' | |
| ## Use a long listing format ## | |
| alias ll='ls -la' | |
| ## Show hidden files ## | |
| alias l.='ls -d .*' | |
| ## Colorize the grep command output for ease of use (good for log files)## |
#Installing Phalcon on CentOS 6.2 64bit
Install build tools
sudo yum install gcc make
sudo yum install php-devel
Compile Phalcon
#Installing Couchbase PHP extension on CentOS 6.2 64bit
Install libraries and stuff
sudo wget -O/etc/yum.repos.d/couchbase.repo http://packages.couchbase.com/rpm/couchbase-centos62-x86_64.repo
sudo yum check-update
sudo yum install -y libcouchbase2 libcouchbase-devel
Install Couchbase extension