Pyh.conf’25: a new PHP conference for the Russian-speaking community

Voting

: max(eight, two)?
(Example: nine)

The Note You're Voting On

sergei at 2440media dot com
17 years ago
Finally we can implement some ActiveRecord methods:

<?php

class Model
{
public static function
find()
{
echo static::
$name;
}
}

class
Product extends Model
{
protected static
$name = 'Product';
}

Product::find();

?>

Output: 'Product'

<< Back to user notes page

To Top