JObject/ construct

出典: Joomla! ドキュメンテーション


This is a stub method with empty body. It is required for smooth work of a hack that allows __construct() in PHP 4. Because JObject method explicitly invokes $this->__construct(), then __construct method must be defined in the JObject class or in its child class. So, to avoid "Call to undefined method" error, we define this method in the JObject class, as we cannot guarantee that a child class will define __construct method.

See also


自動更新 2012/05/25 21:43:24