<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Problema con classe]]></title><description><![CDATA[<p dir="auto">Ciao a tutti, ho la seguente classe:</p>
<pre><code class="language-php">class EggHuntPass extends Pass{
// 1) the pass configuration is
// bundled in the class
private $keyPath = "pass";
private $sourcePath = "pass/source";
private $keyPassword = "12345";
static $passTypeID = "pass.com.marcotardanico.generico";        

// 2) autoconfigures the object and    
// calls the original Pass constructor    

function __construct() {        
$this-&gt;keyPath = realpath(dirname(__FILE__)."/../".$this-&gt;keyPath);        
$this-&gt;sourcePath = realpath(dirname(__FILE__)."/../".$this-&gt;sourcePath);        
parent::__construct($this-&gt;sourcePath);    
} ...
</code></pre>
<p dir="auto">Vorrei che il valore di $sourcePath mi cambi in base ad un valore estratto dal DB. Solo che non riesco ad estrarre il valore prima del costruttore e quindi non so come modificare quel valore. Sapete darmi qualche dritta per favore?</p>
<p dir="auto">Grazie <img src="https://dev.connect.gt/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=f1cecb658d8" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:1.4em;width:auto;vertical-align:middle" title=":)" alt="🙂" /></p>
]]></description><link>https://dev.connect.gt/topic/199737/problema-con-classe</link><generator>RSS for Node</generator><lastBuildDate>Wed, 25 Nov 2026 09:37:30 GMT</lastBuildDate><atom:link href="https://dev.connect.gt/topic/199737.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 28 Mar 2014 20:12:28 GMT</pubDate><ttl>60</ttl></channel></rss>