public static function getButtons() { if (self::$buttons == null) { $fn = Yii::app()->modulePath . "/payPal/data/buttons.php"; self::$buttons = (require $fn); } return self::$buttons; }