class FlavioLaino {

	const Job = 'php developer';
	const Starting_At = 2003;

	public $_Experience;

	public $_Actual_Company = 'One Italia';
	public $_Knowledges = array();
	public $_Personal_Links = array(
					'site' => 'http://www.flaviolaino.it',
					'portfolio' => 'http://portfolio.flaviolaino.it',
					'linkedin' => 'http://it.linkedin.com/in/flaviolaino'
				);

	protected $_Previous_Companies = array(
					'Il Messaggero' => 'dtp',
					'Giroal srl' => 'web manager'
				);

	function __construct(){
		$this->_Experience = date('Y') - self::Starting_At;
	}

	public function knowledge(){
		$this->_Knowledges[] = array('what'=>'PHP5', 'level'=>'expert');
		$this->_Knowledges[] = array('what'=>'OOP', 'level'=>'expert');
		$this->_Knowledges[] = array('what'=>'MySql', 'level'=>'good');
		$this->_Knowledges[] = array('what'=>'HTML', 'level'=>'good');
		$this->_Knowledges[] = array('what'=>'CSS', 'level'=>'medium');
		$this->_Knowledges[] = array('what'=>'JS', 'level'=>'medium');
		$this->_Knowledges[] = array('what'=>'jquery', 'level'=>'good');
		return true;
	}

	public function contact($your_text = ''){
		$my_at_sign = '@';
		return mail("info{$my_at_sign}flaviolaino.it", 'Info', $your_text);
	}

	function __invoke($remuneration = null){
		if(is_null($remuneration)){
			return false;
		}
		else if((int)$remuneration <= 0){
			sleep(5);
			return false;
		}
		else{
			return true;
		}
	}

}