Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yii2
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PSDI Army
yii2
Commits
087943cd
Commit
087943cd
authored
Jan 22, 2014
by
Daniel Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removes Map file uploaded accidentally
parent
40090577
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
53 deletions
+0
-53
Map.php
framework/collections/Map.php
+0
-53
No files found.
framework/collections/Map.php
deleted
100644 → 0
View file @
40090577
<?php
namespace
yii\collections
;
use
yii\base\Object
;
use
yii\base\ArrayAccessTrait
;
class
Map
extends
Object
implements
IteratorAggregate
,
ArrayAccess
,
Countable
{
use
ArrayAccessTrait
;
/**
* @var array internal data storage. This is used by [[ArrayAccessTrait]] to
* implement the IteratorAggregate, ArrayAccess, and Countable interfaces.
*/
protected
$data
;
/**
* @var boolean whether this list is read-only
*/
private
$_readOnly
=
false
;
/**
* Constructor.
* Initializes the list with an array or an iterable object.
* @param array $data the initial data. Default is null, meaning no initialization.
* @param boolean $readOnly whether the list is read-only
* @throws CException If data is not null and neither an array nor an iterator.
*/
public
function
__construct
(
$data
=
null
,
$readOnly
=
false
)
{
if
(
$data
!==
null
)
{
$this
->
copyFrom
(
$data
);
}
$this
->
setReadOnly
(
$readOnly
);
}
/**
* @return boolean whether this map is read-only or not. Defaults to false.
*/
public
function
getReadOnly
()
{
return
$this
->
_readOnly
;
}
/**
* @param boolean $value whether this list is read-only or not
*/
public
function
setReadOnly
(
$value
)
{
$this
->
_readOnly
=
$value
;
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment