{5} Assigned, Active Tickets by Owner (Full Description) (2 matches)
List tickets assigned, group by ticket owner. This report demonstrates the use of full-row display.
schst (2 matches)
| Ticket | Summary | Component | Milestone | Type | Severity | Created | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Description | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| #145 | Add issetConfigValue() method | patConfiguration Class | v2.1.0 | enhancement | normal | 06/13/05 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Sometimes it may be necessary to find out whether a config variable is set, but you don't want to use a help variable to check if getConfigValue() returns false. So I suggest to add an issetConfigValue() method: function issetConfigValue($path = '')
{
if( $path == '' and count( $this->conf ) == 0 ) {
return false;
}
if( strstr( $path, '*' ) ) {
$path = str_replace( '.', '\.', $path );
$path = '^'.str_replace( '*', '.*', $path ).'$';
$values = array();
foreach( $this->conf as $key => $value ) {
if( eregi( $path, $key ) ) {
return true;
}
}
return false;
}
// check wether a value of an array was requested
if( $index = strrchr( $path, '[' ) ) {
$path = substr( $path, 0, strrpos( $path, '[' ) );
#$index = substr( $index, 1, ( strlen( $index ) - 2 ) );
$tmp = $this->issetConfigValue( $path );
return $tmp;
}
return isset( $this->conf[$path] );
}
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| #146 | Enable remote xml files for xinc in XML_Reader | Reader_XML | v2.1.0 | enhancement | normal | 08/30/05 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
It would be nice if you could include remote xml files with the XML_Reader. To enable this, replace $file = $this->configObj->getFullPath( $options['href'], $relativeTo );
if ($file === false) {
return false;
}
with if ( ereg('^http[s]?://', $options['href']) == false ) {
$file = $this->configObj->getFullPath( $options['href'], $relativeTo );
if ($file === false) {
return false;
}
} else {
$file = $options['href'];
}
in patConfiguration_Reader_XML::_xInclude(). However, you should be aware that this has serious security impacts for any application using remote xml files. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Note:
See TracReports for help on using and creating reports.
