Downloads
Documentation
Get Involved
Help
Getting Started
Introduction
A simple tutorial
Language Reference
Basic syntax
Types
Variables
Constants
Expressions
Operators
Control Structures
Functions
Classes and Objects
Namespaces
Enumerations
Errors
Exceptions
Fibers
Generators
Attributes
References Explained
Predefined Variables
Predefined Exceptions
Predefined Interfaces and Classes
Predefined Attributes
Context options and parameters
Supported Protocols and Wrappers
Security
Introduction
General considerations
Installed as CGI binary
Installed as an Apache module
Session Security
Filesystem Security
Database Security
Error Reporting
User Submitted Data
Hiding PHP
Keeping Current
Features
HTTP authentication with PHP
Cookies
Sessions
Dealing with XForms
Handling file uploads
Using remote files
Connection handling
Persistent Database Connections
Command line usage
Garbage Collection
DTrace Dynamic Tracing
Function Reference
Affecting PHP's Behaviour
Audio Formats Manipulation
Authentication Services
Command Line Specific Extensions
Compression and Archive Extensions
Cryptography Extensions
Database Extensions
Date and Time Related Extensions
File System Related Extensions
Human Language and Character Encoding Support
Image Processing and Generation
Mail Related Extensions
Mathematical Extensions
Non-Text MIME Output
Process Control Extensions
Other Basic Extensions
Other Services
Search Engine Extensions
Server Specific Extensions
Session Extensions
Text Processing
Variable and Type Related Extensions
Web Services
Windows Only Extensions
XML Manipulation
GUI Extensions
Keyboard Shortcuts
?
This help
j
Next menu item
k
Previous menu item
g p
Previous man page
g n
Next man page
G
Scroll to bottom
g g
Scroll to top
g h
Goto homepage
g s
Goto search
(current page)
/
Focus search box
Yaf_Config_Simple::__construct »
« Yaf_Config_Ini::valid
PHP Manual
Function Reference
Other Basic Extensions
Yaf
Change language:
English
Chinese (Simplified)
Other
The Yaf_Config_Simple class
(Yaf >=1.0.0)
Introduction
Class synopsis
class
Yaf_Config_Simple
extends
Yaf_Config_Abstract
implements
Iterator
,
ArrayAccess
,
Countable
{
/* Properties */
protected
$
_readonly
;
/* Methods */
public
__construct
(
array
$configs
,
bool
$readonly
= false
)
public
count
():
void
public
current
():
void
public
__get
(
string
$name
= ?
):
void
public
__isset
(
string
$name
):
void
public
key
():
void
public
next
():
void
public
offsetExists
(
string
$name
):
void
public
offsetGet
(
string
$name
):
void
public
offsetSet
(
string
$name
,
string
$value
):
void
public
offsetUnset
(
string
$name
):
void
public
readonly
():
void
public
rewind
():
void
public
__set
(
string
$name
,
string
$value
):
void
public
toArray
():
array
public
valid
():
void
/* Inherited methods */
abstract
public
Yaf_Config_Abstract::get
(
string
$name
,
mixed
$value
):
mixed
abstract
public
Yaf_Config_Abstract::readonly
():
bool
abstract
public
Yaf_Config_Abstract::set
():
Yaf_Config_Abstract
abstract
public
Yaf_Config_Abstract::toArray
():
array
}
Properties
_config
_readonly
Table of Contents
Yaf_Config_Simple::__construct
— The __construct purpose
Yaf_Config_Simple::count
— The count purpose
Yaf_Config_Simple::current
— The current purpose
Yaf_Config_Simple::__get
— The __get purpose
Yaf_Config_Simple::__isset
— The __isset purpose
Yaf_Config_Simple::key
— The key purpose
Yaf_Config_Simple::next
— The next purpose
Yaf_Config_Simple::offsetExists
— The offsetExists purpose
Yaf_Config_Simple::offsetGet
— The offsetGet purpose
Yaf_Config_Simple::offsetSet
— The offsetSet purpose
Yaf_Config_Simple::offsetUnset
— The offsetUnset purpose
Yaf_Config_Simple::readonly
— The readonly purpose
Yaf_Config_Simple::rewind
— The rewind purpose
Yaf_Config_Simple::__set
— The __set purpose
Yaf_Config_Simple::toArray
— Returns a PHP array
Yaf_Config_Simple::valid
— The valid purpose
Improve This Page
Learn How To Improve This Page
•
Submit a Pull Request
•
Report a Bug
+
add a note
User Contributed Notes
There are no user contributed notes for this page.