Model/Post/Attribute/Source/Status.php
public function getOptionText($optionId)
    {
        $options = self::getOptionArray();

        return isset($options[$optionId]) ? $options[$optionId] : null;
    }
public function getOptionText($optionId)
    {
        $options = self::getOptionArray();

        return isset($options[$optionId]) ? $options[$optionId] : null;
    }
public function getOptionText ( $ optionId ) { $ options = self :: getOptionArray ( ) ; return isset ( $ options [ $ optionId ] ) ? $ options [ $ optionId ] : null ; }
Retrieve option text by option value

@param string $optionId
@return string
Retrieve option text by option value