*/
function getDescriptionStylesheetUrl() {
if ( $this->scriptDirUrl ) {
- return self::makeUrl( 'title=MediaWiki:Filepage.css&' .
+ return $this->makeUrl( 'title=MediaWiki:Filepage.css&' .
wfArrayToCGI( Skin::getDynamicStylesheetQuery() ) );
}
}
$this->indent--;
foreach($properties as $property) {
- if(Services_JSON::isError($property)) {
+ if($this->isError($property)) {
return $property;
}
}
$this->indent--;
foreach($elements as $element) {
- if(Services_JSON::isError($element)) {
+ if($this->isError($element)) {
return $element;
}
}
$this->indent--;
foreach($properties as $property) {
- if(Services_JSON::isError($property)) {
+ if($this->isError($property)) {
return $property;
}
}
{
$encoded_value = $this->encode2($value);
- if(Services_JSON::isError($encoded_value)) {
+ if($this->isError($encoded_value)) {
return $encoded_value;
}
var $numberedExpansionCache, $namedExpansionCache;
function __construct( $preprocessor, $parent = false, $numberedArgs = array(), $namedArgs = array(), $title = false ) {
- PPFrame_DOM::__construct( $preprocessor );
+ parent::__construct( $preprocessor );
+
$this->parent = $parent;
$this->numberedArgs = $numberedArgs;
$this->namedArgs = $namedArgs;
var $args;
function __construct( $preprocessor, $args ) {
- PPFrame_DOM::__construct( $preprocessor );
+ parent::__construct( $preprocessor );
$this->args = $args;
}
var $numberedExpansionCache, $namedExpansionCache;
function __construct( $preprocessor, $parent = false, $numberedArgs = array(), $namedArgs = array(), $title = false ) {
- PPFrame_Hash::__construct( $preprocessor );
+ parent::__construct( $preprocessor );
+
$this->parent = $parent;
$this->numberedArgs = $numberedArgs;
$this->namedArgs = $namedArgs;
var $args;
function __construct( $preprocessor, $args ) {
- PPFrame_Hash::__construct( $preprocessor );
+ parent::__construct( $preprocessor );
$this->args = $args;
}
$secondPerson = array( "ز" ); // 1st plural, 2nd formal
$thirdPerson = array( "ى", "ٸ" ); // 3rd
- $lastLetter = self::lastLetter( $word, $allVowels );
- $wordEnding =& $lastLetter[0];
- $wordLastVowel =& $lastLetter[1];
+ $lastLetter = $this->lastLetter( $word, $allVowels );
+ $wordEnding = $lastLetter[0];
+ $wordLastVowel = $lastLetter[1];
// Now convert the word
switch ( $case ) {